DSL の作成者を拡張ポイントは、特定のモデル要素の表示名を決定します
名前空間: Microsoft.VisualStudio.Modeling.Integration
アセンブリ: Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll 内)
構文
'宣言
Protected Overridable Function GetElementDisplayName ( _
mel As ModelElement _
) As String
protected virtual string GetElementDisplayName(
ModelElement mel
)
パラメーター
- mel
型 : Microsoft.VisualStudio.Modeling.ModelElement
これは表示名を計算するモデル要素
戻り値
型 : System.String
</w の表示名を constaining 文字列 : t></w: <w:r> <w:rPr> <w:rStyle w:val="ParameterReference"/> r></w: <w:t> rPr>mel</w: t></w: r> <w:r> <w:t>
解説
このメソッドは [M:Microsoft.VisualStudio.Modeling.Integration.StandardModelingAdapter`T.GetElementReference]GetElementReference して、要素の表示名を確認します。このメソッドが無効化または空の場合、<c> GetElementReference を使用 </c>will ドメインの表示名はなくクラス
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。