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
public virtual AttributeCollection GetAttributes()
public:
virtual AttributeCollection^ GetAttributes()
abstract GetAttributes : unit -> AttributeCollection 
override GetAttributes : unit -> AttributeCollection 
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

Microsoft.VisualStudio.Data.Framework Namespace