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

The SizeRestriction structure describes a Size restriction which compares the Size (in bytes) of a property value with a given Size.
Inheritance: Restrictions
显示文件 Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
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

SizeRestriction ( ) : System

Initializes a new instance of the SizeRestriction class.

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

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

SizeRestriction() public method

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