Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

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.

For a list of all members of this type, see TypedReference Members.

System.Object
   System.ValueType
      System.TypedReference

[Visual Basic]
<CLSCompliant(False)>
Public Structure TypedReference
[C#]
[CLSCompliant(false)]
public struct TypedReference
[C++]
[CLSCompliant(false)]
public __value struct TypedReference

[JScript] In JScript, you can use the structures in the .NET Framework, but you cannot define your own.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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#] 
Assembly.Load("mscorlib.dll").GetType("System.TypedReference[]");

Requirements

Namespace: System

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

TypedReference Members | System Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.