ExportMetadataAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |