Microsoft.Protocols.TestSuites.Common.RopSynchronizationImportDeletesRequest.Size C# (CSharp) Метод

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

Return the size of RopSynchronizationImportDeletes request buffer structure.
public Size ( ) : int
Результат int
        public int Size()
        {
            // 6 indicates sizeof (byte) * 4 + sizeof (UInt16) * 2 
            int size = sizeof(byte) * 6;
            for (int i = 0; i < this.PropertyValueCount; i++)
            {
                if (this.PropertyValues[i].Value != null)
                {
                    size += this.PropertyValues[i].Size();
                }
            }

            return size;
        }
    }
RopSynchronizationImportDeletesRequest