共用方式為


SingletonBaseMetadataAttribute Class

Definition

A base class for attributes that can appear only once on a single component part.

public ref class SingletonBaseMetadataAttribute abstract : Attribute
[Windows::Foundation::Metadata::WebHostHidden]
public ref class SingletonBaseMetadataAttribute abstract : Platform::Metadata::Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public abstract class SingletonBaseMetadataAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type SingletonBaseMetadataAttribute = class
    inherit Attribute
Public MustInherit Class SingletonBaseMetadataAttribute
Inherits Attribute
Inheritance
SingletonBaseMetadataAttribute
Derived
Attributes

Constructors

SingletonBaseMetadataAttribute()

Initializes a new instance of SingletonBaseMetadataAttribute.

Applies to