DataViewBrowseObject.GetAttributes Method

Returns a collection of 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 GetAttributes As AttributeCollection
'使用
Dim instance As DataViewBrowseObject
Dim returnValue As AttributeCollection

returnValue = instance.GetAttributes()
public virtual AttributeCollection GetAttributes()
public:
virtual AttributeCollection^ GetAttributes()
public function GetAttributes() : AttributeCollection

Return Value

Type: System.ComponentModel.AttributeCollection

Returns a collection of attributes for the current browse object.

Implements

ICustomTypeDescriptor.GetAttributes()

Remarks

This method gets the attributes by calling the GetAttributes method and updates this collection of attributes from existing attributes.

Default attributes or attributes with null values are excluded from the returned collection of attributes.

Permissions

See Also

Reference

DataViewBrowseObject Class

DataViewBrowseObject Members

Microsoft.VisualStudio.Data.Framework Namespace