DynamicRecord.ICustomTypeDescriptor.GetDefaultProperty Method
Returns the default property for this instance of a component.
Namespace: WebMatrix.Data
Assembly: WebMatrix.Data (in WebMatrix.Data.dll)
Syntax
'Declaration
Private Function GetDefaultProperty As PropertyDescriptor
Implements ICustomTypeDescriptor.GetDefaultProperty
'Usage
Dim instance As DynamicRecord
Dim returnValue As PropertyDescriptor
returnValue = CType(instance, ICustomTypeDescriptor).GetDefaultProperty()
PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
private:
virtual PropertyDescriptor^ GetDefaultProperty() sealed = ICustomTypeDescriptor::GetDefaultProperty
private abstract GetDefaultProperty : unit -> PropertyDescriptor
private override GetDefaultProperty : unit -> PropertyDescriptor
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Return Value
Type: System.ComponentModel.PropertyDescriptor
null reference (Nothing in Visual Basic) in all cases.
Implements
ICustomTypeDescriptor.GetDefaultProperty()
Remarks
This member is an explicit interface member implementation. It can be used only when the DynamicRecord instance is cast to an ICustomTypeDescriptor interface.