DiagramTypeDescriptor 建構函式 (ICustomTypeDescriptor, PresentationElement, ModelElement)
注意:這個應用程式開發介面現在已經過時。
命名空間: 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, Diagram) 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, Diagram) constructor instead.",
true)]
public DiagramTypeDescriptor(
ICustomTypeDescriptor parent,
PresentationElement presentationElement,
ModelElement element
)
參數
- presentationElement
型別:Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement
- element
型別:Microsoft.VisualStudio.Modeling.ModelElement
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。