C# Class Microsoft.Protocols.TestSuites.MS_OXORULE.CommentRestriction

Clients can use a CommentRestriction structure to save associated comments together with a restriction they pertain to. The comments are formatted as an arbitrary array of TaggedPropValue structures, and servers MUST store and retrieve this information for the client. If the Restriction field is present, servers MUST evaluate it; if it is not present, then the CommentRestriction node will effectively evaluate as TRUE. In either case, the comments themselves have no effect on the evaluation of the restriction.
Inheritance: Restrictions
Datei anzeigen Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
CommentRestriction ( ) : System.Collections.Generic

Initializes a new instance of the CommentRestriction class.

CommentRestriction ( CountByte countType ) : System.Collections.Generic

Initializes a new instance of the CommentRestriction class.

Deserialize ( byte buffer ) : uint

Deserialized byte array to a Restriction instance

Serialize ( ) : byte[]

Get serialized byte array for this structure

Size ( ) : int

Get the total Size of Restriction

Method Details

CommentRestriction() public method

Initializes a new instance of the CommentRestriction class.
public CommentRestriction ( ) : System.Collections.Generic
return System.Collections.Generic

CommentRestriction() public method

Initializes a new instance of the CommentRestriction class.
public CommentRestriction ( CountByte countType ) : System.Collections.Generic
countType CountByte The COUNT Type of this class.
return System.Collections.Generic

Deserialize() public method

Deserialized byte array to a Restriction instance
public Deserialize ( byte buffer ) : uint
buffer byte Byte array contain data of a Restriction instance.
return uint

Serialize() public method

Get serialized byte array for this structure
public Serialize ( ) : byte[]
return byte[]

Size() public method

Get the total Size of Restriction
public Size ( ) : int
return int