C# 클래스 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.
상속: Restrictions
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

CommentRestriction() 공개 메소드

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

CommentRestriction() 공개 메소드

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

Deserialize() 공개 메소드

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

Serialize() 공개 메소드

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

Size() 공개 메소드

Get the total Size of Restriction
public Size ( ) : int
리턴 int