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
- 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.