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

The OrRestriction structure describes an OR restriction, which is used to join a group of restrictions using a logical OR operation. The result of an OrRestriction is TRUE if at least one of its child restrictions evaluates to TRUE, and FALSE if all child restrictions evaluate to FALSE.
Inheritance: Restrictions
Mostra file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
Deserialize ( byte buffer ) : uint

Deserialized byte array to a Restriction instance

OrRestriction ( ) : System

Initializes a new instance of the OrRestriction class.

OrRestriction ( CountByte countType ) : System

Initializes a new instance of the OrRestriction class.

Serialize ( ) : byte[]

Get serialized byte array for this structure

Size ( ) : int

Get the total Size of Restriction

Method Details

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

OrRestriction() public method

Initializes a new instance of the OrRestriction class.
public OrRestriction ( ) : System
return System

OrRestriction() public method

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

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