Share via


TypedReference Structure

Describes objects that contain both a managed pointer to a location and a runtime representation of the type that may be stored at that location.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

[EditorBrowsableAttribute(1)]
public struct TypedReference

Remarks

A typed reference is a type/value combination used for varargs and other support. TypedReference is a built-in value type that can be used for parameters and local variables.

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

C# Copy Code

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

Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows CE Platform Note:

This structure supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Version Information

Available in the .NET Micro Framework versions 3.0, 3.5, 4.0, and 4.1.

See Also

Reference

TypedReference Members
System Namespace