Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub New ( _
parent As ICustomTypeDescriptor, _
presentationElement As PresentationElement, _
selectedElement As ModelElement _
)
'使用
Dim parent As ICustomTypeDescriptor
Dim presentationElement As PresentationElement
Dim selectedElement As ModelElement
Dim instance As New CompartmentTypeDescriptor(parent, _
presentationElement, selectedElement)
public CompartmentTypeDescriptor(
ICustomTypeDescriptor parent,
PresentationElement presentationElement,
ModelElement selectedElement
)
public:
CompartmentTypeDescriptor(
ICustomTypeDescriptor^ parent,
PresentationElement^ presentationElement,
ModelElement^ selectedElement
)
public function CompartmentTypeDescriptor(
parent : ICustomTypeDescriptor,
presentationElement : PresentationElement,
selectedElement : ModelElement
)
Parameters
- parent
Type: System.ComponentModel.ICustomTypeDescriptor
- presentationElement
Type: Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement
- selectedElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
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
CompartmentTypeDescriptor Class