ElementTypeDescriptionProvider.CreateCustomTypeDescriptor Method (ICustomTypeDescriptor, ModelElement)
Overridables for the derived class to provide an ICustomTypeDescriptor (that doesn't need to be an ElementTypeDescriptor). Base implementation simply calls CreateTypeDescriptor() to create an ElementTypeDescriptor.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣言
Protected Overridable Function CreateCustomTypeDescriptor ( _
parent As ICustomTypeDescriptor, _
element As ModelElement _
) As ICustomTypeDescriptor
protected virtual ICustomTypeDescriptor CreateCustomTypeDescriptor(
ICustomTypeDescriptor parent,
ModelElement element
)
protected:
virtual ICustomTypeDescriptor^ CreateCustomTypeDescriptor(
ICustomTypeDescriptor^ parent,
ModelElement^ element
)
abstract CreateCustomTypeDescriptor :
parent:ICustomTypeDescriptor *
element:ModelElement -> ICustomTypeDescriptor
override CreateCustomTypeDescriptor :
parent:ICustomTypeDescriptor *
element:ModelElement -> ICustomTypeDescriptor
protected function CreateCustomTypeDescriptor(
parent : ICustomTypeDescriptor,
element : ModelElement
) : ICustomTypeDescriptor
Parameters
- parent
Type: System.ComponentModel.ICustomTypeDescriptor
Parent custom type descriptor.
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
Element to be described.
Return Value
Type: System.ComponentModel.ICustomTypeDescriptor
.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
ElementTypeDescriptionProvider Class