C # in a Nutshell, Second Edition

RuntimeTypeHandle CF 1.0, ECMA 1.0, serializable

System (mscorlib.dll) struct

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

Категории