Returns the Key of the IRepositoryItem.
The key can be used to retrieve the object from the Repository, where the key is UNIQUE
Namespace: Ico.WPFAssembly: IcoWPFSpecialized (in IcoWPFSpecialized.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
| C# |
|---|
string GetKey() |
| Visual Basic |
|---|
Function GetKey As String |
| JScript |
|---|
function GetKey() : String |
Remarks
Use this method only once the IRepositoryItem has been added to a Repository
Exceptions
| Exception | Condition |
|---|---|
| System..::..InvalidOperationException | Throws an exception if the key is not set yet |