カスタム形式を作成するために ModelElement のコレクションを使用できるかどうかを示す値を返します。
名前空間: Microsoft.VisualStudio.Modeling
アセンブリ: Microsoft.VisualStudio.Modeling.Sdk.11.0 (Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 内)
構文
'宣言
Protected Overridable Function CanAddCustomFormat ( _
elements As ICollection(Of ModelElement), _
closureType As ClosureType _
) As Boolean
protected virtual bool CanAddCustomFormat(
ICollection<ModelElement> elements,
ClosureType closureType
)
パラメーター
- elements
型 : System.Collections.Generic.ICollection<ModelElement>
ModelElements のコレクション。
- closureType
型 : Microsoft.VisualStudio.Modeling.ClosureType
要素のフィルター処理に使用するクロージャの型。
戻り値
型 : System.Boolean
カスタム形式を作成するために ModelElement のコレクションを使用することができる場合は true、; それ以外の場合は false。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。