Base class of key-value object.
See Also: Inherited members from object.
|
GetBoolean
(string)Gets the boolean in KiiBaseObject. |
|
|
GetBoolean
(string, bool)Gets the boolean. If key is not found, returns fallback. |
|
|
GetByteArray
(string)Gets the byte array with the specified key. |
|
|
GetDouble
(string)Gets the double in KiiBaseObject. |
|
|
GetDouble
(string, double)Gets the double. If key is not found, returns fallback. |
|
|
GetInt
(string)Gets the integer in KiiBaseObject. |
|
|
GetInt
(string, int)Gets the integer. If key is not found, returns fallback. |
|
|
GetJsonArray
(string)Gets the Json array with the specified key. |
|
|
GetJsonObject
(string)Gets the JSON object with the specified key. |
|
|
GetLong
(string)Gets the long in KiiBaseObject. |
|
|
GetLong
(string, long)Gets the long. If key is not found, returns fallback. |
|
|
GetString
(string)Gets the string in KiiBaseObject. |
|
|
GetString
(string, string)Gets the string. If key is not found, returns fallback. |
|
|
GetUri
(string)Gets the Uri with the specified key. |
|
|
Has
(string)Determine if this instance has the specified key. |
|
|
Keys
()Gets the list of keys |
|
|
Remove
(string)Remove the specified key and value. |
Gets the boolean in KiiBaseObject.Syntax
Parameters
- key
- Key.
Returns
Value as string associated with the key.Exceptions
Type Reason KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException Is thrown when the type of value is not bool Remarks
If key is not found, KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException is thrown.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the boolean. If key is not found, returns fallback.Syntax
Parameters
- key
- Key.
- fallback
- Fallack.
Returns
Value as bool associated with the key or fallback.Remarks
If key is not found, returns fallback.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the byte array with the specified key.Syntax
Parameters
- key
- Key.
Returns
The byte array associated with the key.Exceptions
Type Reason KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException Is thrown when value is not string. Remarks
If value is empty, returns null.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the double in KiiBaseObject.Syntax
Parameters
- key
- Key.
Returns
Value as double associated with the key.Exceptions
Type Reason KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException Is thrown when the type of value is not double Remarks
If key is not found, KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException is thrown.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the double. If key is not found, returns fallback.Syntax
Parameters
- key
- Key.
- fallback
- Fallback.
Returns
Value as double associated with the key or fallback.Remarks
If key is not found, returns fallback.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the integer in KiiBaseObject.Syntax
Parameters
- key
- Key.
Returns
Value as int associated with the key.Exceptions
Type Reason KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException Is thrown when the type of value is not int Remarks
If key is not found, KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException is thrown.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the integer. If key is not found, returns fallback.Syntax
Parameters
- key
- Key.
- fallback
- Fallback.
Returns
Value as int associated with the key or fallback.Remarks
If key is not found, returns fallback.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the Json array with the specified key.Syntax
public JsonOrg.JsonArray GetJsonArray (string key)Parameters
- key
- Key.
Returns
Value as JsonArray associated with the key.Exceptions
Type Reason KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException Is thrown when the type of value is not JsonArray. Remarks
If key is not found, KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException is thrown.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the JSON object with the specified key.Syntax
public JsonOrg.JsonObject GetJsonObject (string key)Parameters
- key
- Key.
Returns
Value as JsonObject associated with the key.Exceptions
Type Reason KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException Is thrown when the type of value is not JsonObject Remarks
If key is not found, KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException is thrown.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the long in KiiBaseObject.Syntax
Parameters
- key
- Key.
Returns
Value as string associated with the key.Exceptions
Type Reason KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException Is thrown when the type of value is not string Remarks
If key is not found, KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException is thrown.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the long. If key is not found, returns fallback.Syntax
Parameters
- key
- Key.
- fallback
- Fallback.
Returns
Value as long associated with the key or fallback.Remarks
If key is not found, returns fallback.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the string in KiiBaseObject.Syntax
Parameters
- key
- Key.
Returns
Value as string associated with the key.Exceptions
Type Reason KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException Is thrown when the type of value is not string Remarks
If key is not found, KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException is thrown.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the string. If key is not found, returns fallback.Syntax
Parameters
- key
- Key.
- fallback
- Fallback.
Returns
Value as string associated with the key or fallback.Remarks
If key is not found, returns fallback.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the Uri with the specified key.Syntax
Parameters
- key
- Key.
Returns
Value as Uri associated with the key.Exceptions
Type Reason KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException Is thrown when the format of value is not Uri. Remarks
If key is not found, KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException is thrown.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Determine if this instance has the specified key.Syntax
Parameters
- key
- Key.
Returns
if the key is in this instance ; otherwise
Example true
Example falseRemarks
Key must not be null.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets or sets the object with the specified key.Syntax
Parameters
- key
- Key.
Value
Value associated with the key.Exceptions
Type Reason ArgumentNullException Is thrown when key is null. KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException Is thrown when specified key is not existed Remarks
As the type of value is object, developers need to cast value. If you want to suppress IllegalKiiBaseObjectFormatException, use GetXxx(key, fallback)Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Gets the list of keysSyntax
public IEnumerable<string> Keys ()Returns
List of keys.Remarks
Reserved keys are not included.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Remove the specified key and value.Syntax
Parameters
- key
- Key you want to remove
Exceptions
Type Reason ArgumentException Is thrown when key is empty or reserved. Remarks
Key must be valid and should not be reserved.Requirements
Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0