Amazon.CognitoSync.SyncManager.Dataset.GetSizeInBytes C# (CSharp) Метод

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

Gets the size of a record with the given key. If the key is deleted, -1 will be returned. The size is calculated as sum of UTF-8 string length of record key and value
public GetSizeInBytes ( string key ) : long
key string The key of a record
Результат long
        public long GetSizeInBytes(string key)
        {
            return DatasetUtils.ComputeRecordSize(Local.GetRecord(IdentityId,
                DatasetName, DatasetUtils.ValidateRecordKey(key)));
        }