C# 클래스 Microsoft.Protocols.TestSuites.SharedAdapter.BinaryItem

This class specifies arbitrary binary stream of data.
상속: BasicObject
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites 1 사용 예제들

공개 메소드들

메소드 설명
BinaryItem ( ) : System.Collections.Generic

Initializes a new instance of the BinaryItem class.

BinaryItem ( IEnumerable content ) : System.Collections.Generic

Initializes a new instance of the BinaryItem class with the specified content.

Equals ( object obj ) : bool

Override the Equals method.

GetHashCode ( ) : int

Override the GetHashCode method.

SerializeToByteList ( ) : List

This method is used to convert the element of BinaryItem basic object into a byte List.

보호된 메소드들

메소드 설명
DoDeserializeFromByteArray ( byte byteArray, int startIndex ) : int

This method is used to de-serialize the BinaryItem basic object from the specified byte array and start index.

메소드 상세

BinaryItem() 공개 메소드

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

BinaryItem() 공개 메소드

Initializes a new instance of the BinaryItem class with the specified content.
public BinaryItem ( IEnumerable content ) : System.Collections.Generic
content IEnumerable Specify the binary content.
리턴 System.Collections.Generic

DoDeserializeFromByteArray() 보호된 메소드

This method is used to de-serialize the BinaryItem basic object from the specified byte array and start index.
protected DoDeserializeFromByteArray ( byte byteArray, int startIndex ) : int
byteArray byte Specify the byte array.
startIndex int Specify the start index from the byte array.
리턴 int

Equals() 공개 메소드

Override the Equals method.
public Equals ( object obj ) : bool
obj object Specify the object.
리턴 bool

GetHashCode() 공개 메소드

Override the GetHashCode method.
public GetHashCode ( ) : int
리턴 int

SerializeToByteList() 공개 메소드

This method is used to convert the element of BinaryItem basic object into a byte List.
public SerializeToByteList ( ) : List
리턴 List