TypedReferences are used to describe objects that contain both a managed pointer to a location and a runtime representation of the type that may be stored at that location. TypedReferences can be used for parameters and local variables. It is a built-in value type.
Object
ValueType
TypedReference
[Visual Basic] Public Structure TypedReference [C#] public struct TypedReference [C++] public __value struct TypedReference
[JScript] In JScript, you can use the structures in the NGWS frameworks, but you cannot define your own.
Arrays of TypedReference objects cannot be created. For example, the following call is invalid:
[C#]
Assembly.Load("mscorlib.dll").GetType("System.TypedReference[]");
Namespace: System
Assembly: mscorlib.dll