ElementTypeDescriptionProvider.CreateTypeDescriptor Method (ICustomTypeDescriptor, Type)
Overridables for the derived class to provide a custom type descriptor.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Protected Overridable Function CreateTypeDescriptor ( _
parent As ICustomTypeDescriptor, _
modelElementType As Type _
) As ElementTypeDescriptor
protected virtual ElementTypeDescriptor CreateTypeDescriptor(
ICustomTypeDescriptor parent,
Type modelElementType
)
protected:
virtual ElementTypeDescriptor^ CreateTypeDescriptor(
ICustomTypeDescriptor^ parent,
Type^ modelElementType
)
abstract CreateTypeDescriptor :
parent:ICustomTypeDescriptor *
modelElementType:Type -> ElementTypeDescriptor
override CreateTypeDescriptor :
parent:ICustomTypeDescriptor *
modelElementType:Type -> ElementTypeDescriptor
protected function CreateTypeDescriptor(
parent : ICustomTypeDescriptor,
modelElementType : Type
) : ElementTypeDescriptor
Parameters
- parent
Type: System.ComponentModel.ICustomTypeDescriptor
Parent custom type descriptor.
- modelElementType
Type: System.Type
Type of element to be described.
Return Value
Type: Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
.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.