Amazon.CognitoSync.SyncManager.Internal.SQLiteLocalStorage.GetValue C# (CSharp) Метод

GetValue() публичный Метод

Retrieves the string value of a key in dataset. The value can be null when the record doesn't exist or is marked as deleted.
public GetValue ( string identityId, string datasetName, string key ) : string
identityId string Identity identifier.
datasetName string Dataset name.
key string record key.
Результат string
        public string GetValue(string identityId, string datasetName, string key)
        {
            lock (sqlite_lock)
            {
                Record record = GetRecord(identityId, datasetName, key);

                if (record == null)
                {
                    return null;
                }
                else
                {
                    return record.Value;
                }
            }
        }