CollectionDamageIdentity.BeforeDamage Property
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets the identity of the item in the collection before the damage.
Namespace: Microsoft.Windows.Design.Documents.Identities
Assembly: Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)
Syntax
'Declaration
Public ReadOnly Property BeforeDamage As Identity
'Usage
Dim instance As CollectionDamageIdentity
Dim value As Identity
value = instance.BeforeDamage
public Identity BeforeDamage { get; }
public:
property Identity^ BeforeDamage {
Identity^ get ();
}
public function get BeforeDamage () : Identity
Property Value
Type: Microsoft.Windows.Design.Documents.Identities.Identity
The identity of the item in the collection before the damage or nulla null reference (Nothing in Visual Basic) if the damage was before the first item. For example, you can insert an item at the beginning of the collection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CollectionDamageIdentity Class
CollectionDamageIdentity Members
Microsoft.Windows.Design.Documents.Identities Namespace