次の方法で共有


CollectionDamageIdentity コンストラクタ

更新 : 2007 年 11 月

この API は、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

CollectionDamageIdentity クラスの新しいインスタンスを初期化します。

名前空間 :  Microsoft.Windows.Design.Documents.Identities
アセンブリ :  Microsoft.Windows.Design.Markup (Microsoft.Windows.Design.Markup.dll 内)

構文

'宣言
Public Sub New ( _
    collectionIdentity As Identity, _
    itemBeforeDamage As Identity, _
    itemAfterDamage As Identity _
)
'使用
Dim collectionIdentity As Identity
Dim itemBeforeDamage As Identity
Dim itemAfterDamage As Identity

Dim instance As New CollectionDamageIdentity(collectionIdentity, _
    itemBeforeDamage, itemAfterDamage)
public CollectionDamageIdentity(
    Identity collectionIdentity,
    Identity itemBeforeDamage,
    Identity itemAfterDamage
)
public:
CollectionDamageIdentity(
    Identity^ collectionIdentity, 
    Identity^ itemBeforeDamage, 
    Identity^ itemAfterDamage
)
public function CollectionDamageIdentity(
    collectionIdentity : Identity, 
    itemBeforeDamage : Identity, 
    itemAfterDamage : Identity
)

パラメータ

  • itemBeforeDamage
    型 : Microsoft.Windows.Design.Documents.Identities.Identity

    破損箇所の前の項目の ID。破損箇所がコレクションの最初の項目の前である場合は nullnull 参照 (Visual Basic では Nothing)。たとえば、コレクションの先頭に項目を挿入できます。

  • itemAfterDamage
    型 : Microsoft.Windows.Design.Documents.Identities.Identity

    破損箇所の後の項目の ID。破損箇所がコレクションの最後の項目の後である場合は nullnull 参照 (Visual Basic では Nothing)。たとえば、コレクションの末尾に項目を挿入できます。

アクセス許可

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

参照

参照

CollectionDamageIdentity クラス

CollectionDamageIdentity メンバ

Microsoft.Windows.Design.Documents.Identities 名前空間

その他の技術情報

WPF デザイナの機能拡張