DynamicRecord.ICustomTypeDescriptor.GetAttributes Method

Returns a list of custom attributes for this instance of a component.

Namespace:  WebMatrix.Data
Assembly:  WebMatrix.Data (in WebMatrix.Data.dll)

Syntax

'Declaration
Private Function GetAttributes As AttributeCollection 
    Implements ICustomTypeDescriptor.GetAttributes
'Usage
Dim instance As DynamicRecord 
Dim returnValue As AttributeCollection 

returnValue = CType(instance, ICustomTypeDescriptor).GetAttributes()
AttributeCollection ICustomTypeDescriptor.GetAttributes()
private:
virtual AttributeCollection^ GetAttributes() sealed = ICustomTypeDescriptor::GetAttributes
private abstract GetAttributes : unit -> AttributeCollection  
private override GetAttributes : unit -> AttributeCollection
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.ComponentModel.AttributeCollection
Empty in all cases.

Implements

ICustomTypeDescriptor.GetAttributes()

Remarks

This member is an explicit interface member implementation. It can be used only when the DynamicRecord instance is cast to an ICustomTypeDescriptor interface.

See Also

Reference

DynamicRecord Class

WebMatrix.Data Namespace