Share via


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

'Declaration
Public Overridable Function GetAttributes As AttributeCollection
'Usage
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.

.NET Framework Security

See Also

Reference

DataViewBrowseObject Class

DataViewBrowseObject Members

Microsoft.VisualStudio.Data.Framework Namespace