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
Afficher le fichier Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

CommentRestriction() public méthode

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

Deserialize() public méthode

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

Serialize() public méthode

Get serialized byte array for this structure
public Serialize ( ) : byte[]
Résultat byte[]

Size() public méthode

Get the total Size of Restriction
public Size ( ) : int
Résultat int