Scheduler for WinRT
Key Property


Gets an array of objects representing the key of the BasePersistableObject.
Syntax
'Declaration
 
Public ReadOnly Property Key As Object()
'Usage
 
Dim instance As BasePersistableObject
Dim value() As Object
 
value = instance.Key
public object[] Key {get;}
Remarks

In the current version, the array always contains a single object. It can be either an System.Int32 or System.Guid value depending on which one is actually used for binding this data. For example, if you bind AppointmentStorage to the database and set IndexMapping, this property will return an System.Int32 value. If you set IdMapping, this property will return a System.Guid value.

In future versions working with compound keys might be implemented. In such case this property will return array of objects composing the key.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BasePersistableObject Class
BasePersistableObject Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.