次の方法で共有


ModelItem.IsItemOfType メソッド (TypeIdentifier)

この項目が指定された型であるか、または指定されたインターフェイスを実装するかを示す値を取得します。

名前空間:  Microsoft.Windows.Design.Model
アセンブリ:  Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)

構文

'宣言
Public Overridable Function IsItemOfType ( _
    typeIdentifier As TypeIdentifier _
) As Boolean
public virtual bool IsItemOfType(
    TypeIdentifier typeIdentifier
)
public:
virtual bool IsItemOfType(
    TypeIdentifier typeIdentifier
)
abstract IsItemOfType : 
        typeIdentifier:TypeIdentifier -> bool 
override IsItemOfType : 
        typeIdentifier:TypeIdentifier -> bool 
public function IsItemOfType(
    typeIdentifier : TypeIdentifier
) : boolean

パラメーター

戻り値

型: System.Boolean
この項目が指定された型であるか、または指定されたインターフェイスを実装する場合は true。それ以外の場合は false。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

ModelItem クラス

IsItemOfType オーバーロード

Microsoft.Windows.Design.Model 名前空間

その他の技術情報

WPF デザイナーの機能拡張アーキテクチャ

編集モデルのアーキテクチャ