Microsoft.Protocols.TestSuites.Common.RopCreateFolderRequest.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) * 8;
            if (this.DisplayName != null)
            {
                size += this.DisplayName.Length;
            }

            if (this.Comment != null)
            {
                size += this.Comment.Length;
            }
                                                                                                                                                                                                
            return size;
        }
    }
RopCreateFolderRequest