Share via


GenericSecurityDescriptor.GetBinaryForm(Byte[], Int32) 方法

定義

傳回位元組值陣列,代表此 GenericSecurityDescriptor 物件中包含的資訊。

public:
 void GetBinaryForm(cli::array <System::Byte> ^ binaryForm, int offset);
public void GetBinaryForm (byte[] binaryForm, int offset);
member this.GetBinaryForm : byte[] * int -> unit
Public Sub GetBinaryForm (binaryForm As Byte(), offset As Integer)

參數

binaryForm
Byte[]

位元組陣列,GenericSecurityDescriptor 的內容會封送處理至此陣列。

offset
Int32

要開始封送處理的位移。

例外狀況

offset 是負數或太高,因而不允許將整個 GenericSecurityDescriptor 複製到 array

適用於