Microsoft.Protocols.TestSuites.Common.RopWritePerUserInformationRequest.Size C# (CSharp) Method

Size() public method

Return the size of this structure.
public Size ( ) : int
return int
        public int Size()
        {
            int size = sizeof(byte) * 10;
            if (this.FolderId.Size() > 0)
            {
                size += this.FolderId.Size();
            }

            if (this.DataSize > 0)
            {
                size += this.DataSize;
            }

            if (this.DataOffset == 0 && this.ReplGuid != null) 
            {
                size += 16;
            }

            return size;
        }
    }
RopWritePerUserInformationRequest