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 IntPtr Value{get; }
// Public Instance Methods
   public void GetObjectData(System.Runtime.Serialization.SerializationInfo info,
        System.Runtime.Serialization.StreamingContext context)
// implements ISerializable
}

Hierarchy

Object ValueType RuntimeTypeHandle(System.Runtime.Serialization.ISerializable)

Returned By

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

Passed To

ArgIterator.GetNextArg( ), Type.GetTypeFromHandle( )

Get C# in a Nutshell, Second Edition 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.