NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TypedReference Structure

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.

Remarks

Arrays of TypedReference objects cannot be created. For example, the following call is invalid:

[C#]

Assembly.Load("mscorlib.dll").GetType("System.TypedReference[]");

Requirements

Namespace: System

Assembly: mscorlib.dll

See Also

TypedReference Members | System Namespace