DslDefinitionModelTypeDescriptorProvider.CreateTypeDescriptor Method (ICustomTypeDescriptor, ModelElement)
Virtual method to supply our own type descriptor
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Protected Overrides Function CreateTypeDescriptor ( _
parent As ICustomTypeDescriptor, _
element As ModelElement _
) As ElementTypeDescriptor
protected override ElementTypeDescriptor CreateTypeDescriptor(
ICustomTypeDescriptor parent,
ModelElement element
)
protected:
virtual ElementTypeDescriptor^ CreateTypeDescriptor(
ICustomTypeDescriptor^ parent,
ModelElement^ element
) override
abstract CreateTypeDescriptor :
parent:ICustomTypeDescriptor *
element:ModelElement -> ElementTypeDescriptor
override CreateTypeDescriptor :
parent:ICustomTypeDescriptor *
element:ModelElement -> ElementTypeDescriptor
protected override function CreateTypeDescriptor(
parent : ICustomTypeDescriptor,
element : ModelElement
) : ElementTypeDescriptor
Parameters
- parent
Type: System.ComponentModel.ICustomTypeDescriptor
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
Return Value
Type: Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
DslDefinitionModelElementTypeDescriptor object
.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.
See Also
Reference
DslDefinitionModelTypeDescriptorProvider Class
Microsoft.VisualStudio.Modeling.DslDefinition.Design Namespace