次の方法で共有


PropertyIdentifierCollection.Add メソッド (Type, String)

新しいプロパティ識別子を追加します。

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

構文

'宣言
Public Sub Add ( _
    ownerType As Type, _
    name As String _
)
public void Add(
    Type ownerType,
    string name
)
public:
void Add(
    Type^ ownerType, 
    String^ name
)
member Add : 
        ownerType:Type * 
        name:string -> unit 
public function Add(
    ownerType : Type, 
    name : String
)

パラメーター

  • ownerType
    型: System.Type
    追加するプロパティを所有する型。
  • name
    型: System.String
    追加されるプロパティの名前。

.NET Framework セキュリティ

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

参照

参照

PropertyIdentifierCollection クラス

Add オーバーロード

Microsoft.Windows.Design.Model 名前空間

その他の技術情報

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