Share via


ICustomTypeDescriptor.GetProperties Method (Attribute[])

Rather than passing this function on to the default TypeDescriptor, which would return the actual properties of PropertyGroup, a list is constructed here that contains property descriptors for the elements of the Properties list in the group.

Namespace:  Microsoft.VisualStudio.Data.Tools.Package.Internal
Assembly:  Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)

Syntax

'Declaration
Private Function GetProperties ( _
    attributes As Attribute() _
) As PropertyDescriptorCollection Implements ICustomTypeDescriptor.GetProperties
'Usage
Dim instance As PropertyGroup
Dim attributes As Attribute()
Dim returnValue As PropertyDescriptorCollection

returnValue = CType(instance, ICustomTypeDescriptor).GetProperties(attributes)
PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(
    Attribute[] attributes
)
private:
virtual PropertyDescriptorCollection^ GetProperties(
    array<Attribute^>^ attributes
) sealed = ICustomTypeDescriptor::GetProperties
private abstract GetProperties : 
        attributes:Attribute[] -> PropertyDescriptorCollection 
private override GetProperties : 
        attributes:Attribute[] -> PropertyDescriptorCollection 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

Type: System.ComponentModel..::..PropertyDescriptorCollection

Implements

ICustomTypeDescriptor..::..GetProperties(array<Attribute> [] () [] [])

See Also

Reference

PropertyGroup Class

GetProperties Overload

Microsoft.VisualStudio.Data.Tools.Package.Internal Namespace