SignatureTypeEncoder.Type(EntityHandle, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
編碼對某個類型的引用。
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 沒有預期中的握把類型。