CodeTypeMember::CustomAttributes Property

 

Gets or sets the custom attributes of the member.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public:
property CodeAttributeDeclarationCollection^ CustomAttributes {
	CodeAttributeDeclarationCollection^ get();
	void set(CodeAttributeDeclarationCollection^ value);
}

Property Value

Type: System.CodeDom::CodeAttributeDeclarationCollection^

A CodeAttributeDeclarationCollection that indicates the custom attributes of the member.

This property can be used to add metadata attributes to the declaration of the member.

System_CAPS_cautionCaution

This property is null by default and should be checked for content before being referenced.

.NET Framework
Available since 1.1
Return to top
Show: