Gets a collection of properties using the specified parameters as a filter.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function GetProperties ( _
attributes As Attribute() _
) As PropertyDescriptorCollection
'使用
Dim instance As LocalizableProperties
Dim attributes As Attribute()
Dim returnValue As PropertyDescriptorCollection
returnValue = instance.GetProperties(attributes)
public virtual PropertyDescriptorCollection GetProperties(
Attribute[] attributes
)
public:
virtual PropertyDescriptorCollection^ GetProperties(
array<Attribute^>^ attributes
)
public function GetProperties(
attributes : Attribute[]
) : PropertyDescriptorCollection
Parameters
attributes
Type: []An array of Attribute.
Return Value
Type: System.ComponentModel.PropertyDescriptorCollection
Implements
ICustomTypeDescriptor.GetProperties([])
Remarks
This method gets the collection by first calling GetProperties and then converting the members of the returned collection to DesignPropertyDescriptor objects.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.