語言

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 沒有預期中的握把類型。

適用於