Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Protected Overridable Function CreateTypeDescriptor ( _
parent As ICustomTypeDescriptor, _
element As ModelElement _
) As ElementTypeDescriptor
'使用
Dim parent As ICustomTypeDescriptor
Dim element As ModelElement
Dim returnValue As ElementTypeDescriptor
returnValue = Me.CreateTypeDescriptor(parent, _
element)
protected virtual ElementTypeDescriptor CreateTypeDescriptor(
ICustomTypeDescriptor parent,
ModelElement element
)
protected:
virtual ElementTypeDescriptor^ CreateTypeDescriptor(
ICustomTypeDescriptor^ parent,
ModelElement^ element
)
protected 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
Permissions
- 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
ElementTypeDescriptionProvider Class