CompartmentTypeDescriptor 构造函数 (ICustomTypeDescriptor, PresentationElement, ModelElement)
注意:此 API 现在已过时。
创建新的 CompartmentTypeDescriptor
命名空间: Microsoft.VisualStudio.Modeling.Diagrams
程序集: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
语法
声明
<ObsoleteAttribute("This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, Compartment) constructor instead.", _
True)> _
Public 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, Compartment) constructor instead.",
true)]
public CompartmentTypeDescriptor(
ICustomTypeDescriptor parent,
PresentationElement presentationElement,
ModelElement element
)
参数
- presentationElement
类型:Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement
- element
类型:Microsoft.VisualStudio.Modeling.ModelElement
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。