Share via


TypedReference Structure

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

'Declaration
Public Structure TypedReference
public struct TypedReference
public value class TypedReference
[<Sealed>]
type TypedReference =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The TypedReference type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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.

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.

See Also

Reference

System Namespace