PropertyGridObject.ICustomTypeDescriptor.GetAttributes Method
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.
Returns a collection of custom attributes for the property grid.
virtual System::ComponentModel::AttributeCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetAttributes() = System::ComponentModel::ICustomTypeDescriptor::GetAttributes;
System.ComponentModel.AttributeCollection ICustomTypeDescriptor.GetAttributes ();
Function GetAttributes () As AttributeCollection Implements ICustomTypeDescriptor.GetAttributes
Returns
A AttributeCollection object that contains the attributes for the property grid.
Implements
Examples
The following example duplicates the <xref:Microsoft.Web.Management.Client.PropertyGridObject.System.ComponentModel.ICustomTypeDescriptor.GetAttributes%2A> method.
AttributeCollection MyGetAttributes() {
return TypeDescriptor.GetAttributes(this, true);
}