LocalizableProperties.GetProperties Method ([])

Returns the properties for selected object using the attribute array as a filter.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣言
Public Function GetProperties ( _
    attributes As Attribute() _
) As PropertyDescriptorCollection
'使用
Dim instance As LocalizableProperties
Dim attributes As Attribute()
Dim returnValue As PropertyDescriptorCollection

returnValue = instance.GetProperties(attributes)
public PropertyDescriptorCollection GetProperties(
    Attribute[] attributes
)
public:
virtual PropertyDescriptorCollection^ GetProperties(
    array<Attribute^>^ attributes
) sealed
public final function GetProperties(
    attributes : Attribute[]
) : PropertyDescriptorCollection

Parameters

  • attributes
    Type: []

    An array of type Attribute to use as a filter.

Return Value

Type: System.ComponentModel.PropertyDescriptorCollection

Returns a PropertyDescriptorCollection.

Implements

ICustomTypeDescriptor.GetProperties([])

Permissions

See Also

Reference

LocalizableProperties Class

LocalizableProperties Members

GetProperties Overload

Microsoft.VisualStudio.Shell Namespace