PresentationElementTypeDescriptor Constructor (ICustomTypeDescriptor, PresentationElement, ModelElement)
Note: This API is now obsolete.
ctor for creating the wrapper class which represents the element to be consumed by the property grid.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
<ObsoleteAttribute("This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, PresentationElement) constructor instead.", _
True)> _
Protected Friend Sub New ( _
parent As ICustomTypeDescriptor, _
presentationElement As PresentationElement, _
element As ModelElement _
)
[ObsoleteAttribute("This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, PresentationElement) constructor instead.",
true)]
protected internal PresentationElementTypeDescriptor(
ICustomTypeDescriptor parent,
PresentationElement presentationElement,
ModelElement element
)
[ObsoleteAttribute(L"This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, PresentationElement) constructor instead.",
true)]
protected public:
PresentationElementTypeDescriptor(
ICustomTypeDescriptor^ parent,
PresentationElement^ presentationElement,
ModelElement^ element
)
[<ObsoleteAttribute("This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, PresentationElement) constructor instead.",
true)>]
new :
parent:ICustomTypeDescriptor *
presentationElement:PresentationElement *
element:ModelElement -> PresentationElementTypeDescriptor
function PresentationElementTypeDescriptor(
parent : ICustomTypeDescriptor,
presentationElement : PresentationElement,
element : ModelElement
)
Parameters
- parent
Type: System.ComponentModel.ICustomTypeDescriptor
- presentationElement
Type: Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
.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
PresentationElementTypeDescriptor Class