SignatureTypeEncoder.Type(EntityHandle, Boolean) 方法

定義

編碼型別的參考。

public:
 void Type(System::Reflection::Metadata::EntityHandle type, bool isValueType);
public void Type (System.Reflection.Metadata.EntityHandle type, bool isValueType);
member this.Type : System.Reflection.Metadata.EntityHandle * bool -> unit
Public Sub Type (type As EntityHandle, isValueType As Boolean)

參數

isValueType
Boolean

true 以將型別標示為實值型別,false 以將它在簽章中標記為參考型別。

例外狀況

type 沒有預期的控制代碼種類。

適用於