CompartmentTypeDescriptor Constructor (ICustomTypeDescriptor, Compartment)
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Sub New ( _
parent As ICustomTypeDescriptor, _
element As Compartment _
)
public CompartmentTypeDescriptor(
ICustomTypeDescriptor parent,
Compartment element
)
public:
CompartmentTypeDescriptor(
ICustomTypeDescriptor^ parent,
Compartment^ element
)
new :
parent:ICustomTypeDescriptor *
element:Compartment -> CompartmentTypeDescriptor
public function CompartmentTypeDescriptor(
parent : ICustomTypeDescriptor,
element : Compartment
)
Parameters
- parent
Type: System.ComponentModel.ICustomTypeDescriptor
- element
Type: Microsoft.VisualStudio.Modeling.Diagrams.Compartment
.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
CompartmentTypeDescriptor Class