Name

RuntimeTypeHandle

Synopsis

This structure is a handle to the internal metadata representation of a type. The Value property provides an IntPtr reference. You can use this class with the Type.GetTypeFromHandle() static method.

public struct RuntimeTypeHandle : System.Runtime.Serialization.ISerializable {
// Public Instance Properties
   public field IntPtr Value{get; } 
// Public Instance Methods
   public method void GetObjectData(                            // implements ISerializable
        System.Runtime.Serialization.SerializationInfo info, 
        System.Runtime.Serialization.StreamingContext context);  
}

Hierarchy

ObjectValueTypeRuntimeTypeHandle(System.Runtime.Serialization.ISerializable)

Returned By

ArgIterator.GetNextArgType(), Type.{GetTypeHandle(), TypeHandle}

Passed To

ArgIterator.GetNextArg(), Type.GetTypeFromHandle()

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.