Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ICustomTypeDescriptor.GetAttributes Method

Returns a collection of type Attribute for this object.

[Visual Basic]
Function GetAttributes() As AttributeCollection
[C#]
AttributeCollection GetAttributes();
[C++]
AttributeCollection* GetAttributes();
[JScript]
function GetAttributes() : AttributeCollection;

Return Value

An AttributeCollection with the attributes for this object.

Remarks

The return value is never a null reference (Nothing in Visual Basic).

Implementers can return an empty AttributeCollection if no attributes are specified.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

ICustomTypeDescriptor Interface | ICustomTypeDescriptor Members | System.ComponentModel Namespace | ICustomTypeDescriptor | TypeDescriptor | AttributeCollection

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft