Compartir a través de


PropertyGridObject.ICustomTypeDescriptor.GetAttributes Método

Definición

Devuelve una colección de atributos personalizados para la cuadrícula de propiedades.

 virtual System::ComponentModel::AttributeCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetAttributes() = System::ComponentModel::ICustomTypeDescriptor::GetAttributes;
System.ComponentModel.AttributeCollection ICustomTypeDescriptor.GetAttributes ();
Function GetAttributes () As AttributeCollection Implements ICustomTypeDescriptor.GetAttributes

Devoluciones

Objeto AttributeCollection que contiene los atributos de la cuadrícula de propiedades.

Implementaciones

Ejemplos

En el ejemplo siguiente se duplica el <xref:Microsoft.Web.Management.Client.PropertyGridObject.System.ComponentModel.ICustomTypeDescriptor.GetAttributes%2A> método .

AttributeCollection MyGetAttributes() {
    return TypeDescriptor.GetAttributes(this, true);
} 

Se aplica a