Bearbeiten

ExportMetadataAttribute Class

Definition

Specifies metadata for a type, property, field, or method marked with the ExportAttribute.

public ref class ExportMetadataAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true, Inherited=false)]
public sealed class ExportMetadataAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true, Inherited=false)>]
type ExportMetadataAttribute = class
    inherit Attribute
Public NotInheritable Class ExportMetadataAttribute
Inherits Attribute
Inheritance
ExportMetadataAttribute
Attributes

Constructors

Name Description
ExportMetadataAttribute(String, Object)

Initializes a new instance of the ExportMetadataAttribute with the specified name and metadata value.

Properties

Name Description
IsMultiple

Gets or sets a value that indicates whether this item is marked with this attribute more than once.

Name

Gets the name of the metadata value.

Value

Gets the metadata value.

Applies to