CodeTypeMember.CustomAttributes Property
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.
Gets or sets the custom attributes of the member.
public:
property System::CodeDom::CodeAttributeDeclarationCollection ^ CustomAttributes { System::CodeDom::CodeAttributeDeclarationCollection ^ get(); void set(System::CodeDom::CodeAttributeDeclarationCollection ^ value); };
public System.CodeDom.CodeAttributeDeclarationCollection CustomAttributes { get; set; }
member this.CustomAttributes : System.CodeDom.CodeAttributeDeclarationCollection with get, set
Public Property CustomAttributes As CodeAttributeDeclarationCollection
Property Value
A CodeAttributeDeclarationCollection that indicates the custom attributes of the member.
Remarks
This property can be used to add metadata attributes to the declaration of the member.
Caution
This property is null
by default and should be checked for content before being referenced.
Applies to
See also
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.