Edit

Share via


SignatureTypeEncoder.Type(EntityHandle, Boolean) Method

Definition

Encodes a reference to a type.

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)

Parameters

isValueType
Boolean

true to mark the type as value type, false to mark it as a reference type in the signature.

Exceptions

type doesn't have the expected handle kind.

Applies to