Bagikan melalui


LocalizableProperties.GetProperties Method (array<Attribute )

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

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

Syntax

'Declaration
Public Function GetProperties ( _
    attributes As Attribute() _
) As PropertyDescriptorCollection
public PropertyDescriptorCollection GetProperties(
    Attribute[] attributes
)
public:
virtual PropertyDescriptorCollection^ GetProperties(
    array<Attribute^>^ attributes
) sealed
abstract GetProperties : 
        attributes:Attribute[] -> PropertyDescriptorCollection  
override GetProperties : 
        attributes:Attribute[] -> PropertyDescriptorCollection
public final function GetProperties(
    attributes : Attribute[]
) : PropertyDescriptorCollection

Parameters

  • attributes
    Type: array<Attribute[]

    An array of type Attribute to use as a filter.

Return Value

Type: PropertyDescriptorCollection
Returns a PropertyDescriptorCollection.

Implements

ICustomTypeDescriptor.GetProperties(Attribute)

.NET Framework Security

See Also

Reference

LocalizableProperties Class

GetProperties Overload

Microsoft.VisualStudio.Shell Namespace