Retrieves a PropertyDescriptorCollection collection of properties that match the specified attributes for the current browse object.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Overridable Function GetProperties ( _
attributes As Attribute() _
) As PropertyDescriptorCollection
'使用
Dim instance As DataViewBrowseObject
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 objects as a filter for the properties to return.
Return Value
Type: System.ComponentModel.PropertyDescriptorCollection
Returns a PropertyDescriptorCollection collection containing the properties that match the specified attributes for the current browse object.
Implements
ICustomTypeDescriptor.GetProperties([])
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.