O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required