Share via


DynamicRecord.ICustomTypeDescriptor.GetEditor Method

Returns an editor of the specified type for this instance of a component.

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

Syntax

'Declaration
Private Function GetEditor ( _
    editorBaseType As Type _
) As Object Implements ICustomTypeDescriptor.GetEditor
'Usage
Dim instance As DynamicRecord 
Dim editorBaseType As Type 
Dim returnValue As Object 

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

Parameters

  • editorBaseType
    Type: System.Type
    The editor for this object. The value of this parameter is ignored by this implementation and does not affect the outcome of this method.

Return Value

Type: System.Object
null reference (Nothing in Visual Basic) in all cases.

Implements

ICustomTypeDescriptor.GetEditor(Type)

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