Show / Hide Table of Contents

Class OpaqueValueType

Provides extensions for OpaqueValue<T> when its underlying type is of value type.

Inheritance
object
OpaqueValueType
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: DotNext.Runtime.InteropServices
Assembly: DotNext.Unsafe.dll
Syntax
public static class OpaqueValueType

Methods

View Source

get_Value<T>(OpaqueValue<Pointer<T>>)

Gets a reference to the underlying value.

Declaration
public static ref T get_Value<T>(OpaqueValue<Pointer<T>> opaque) where T : unmanaged
Parameters
Type Name Description
OpaqueValue<Pointer<T>> opaque
Returns
Type Description
T
Type Parameters
Name Description
T
View Source

get_Value<T>(OpaqueValue<T>)

Gets mutable reference to the value.

Declaration
public static ref T get_Value<T>(OpaqueValue<T> opaque) where T : struct
Parameters
Type Name Description
OpaqueValue<T> opaque
Returns
Type Description
T
Type Parameters
Name Description
T
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾