InstanceKey.InvalidKey Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns an invalid InstanceKey object. An invalid InstanceKey object has Guid.Empty value for the Value property and a false value for the IsValid property.

Namespace:  System.Runtime.Persistence
Assembly:  System.Runtime (in System.Runtime.dll)

Syntax

'Declaration
Public Shared ReadOnly Property InvalidKey As InstanceKey
    Get
'Usage
Dim value As InstanceKey

value = InstanceKey.InvalidKey
public static InstanceKey InvalidKey { get; }
public:
static property InstanceKey^ InvalidKey {
    InstanceKey^ get ();
}
static member InvalidKey : InstanceKey

Property Value

Type: System.Runtime.Persistence.InstanceKey
An invalid instance key.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

See Also

Reference

InstanceKey Class

InstanceKey Members

System.Runtime.Persistence Namespace