RuntimeOps.CreateRuntimeVariables Method

Definition

Creates an interface that can be used to modify closed over variables at runtime.

Overloads

CreateRuntimeVariables()

This API supports the product infrastructure and is not intended to be used directly from your code.

Obsolete.

Creates an interface that can be used to modify closed over variables at runtime.

CreateRuntimeVariables(Object[], Int64[])

This API supports the product infrastructure and is not intended to be used directly from your code.

Obsolete.

Creates an interface that can be used to modify closed over variables at runtime.

CreateRuntimeVariables()

Source:
RuntimeOps.RuntimeVariableList.cs
Source:
RuntimeOps.RuntimeVariableList.cs
Source:
RuntimeOps.RuntimeVariableList.cs

Caution

do not use this method

Creates an interface that can be used to modify closed over variables at runtime.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
[System.Obsolete("do not use this method", true)]
public static System.Runtime.CompilerServices.IRuntimeVariables CreateRuntimeVariables();

Returns

An interface to access variables.

Attributes

Applies to

.NET Framework 4.8.1 and other versions
Product Versions (Obsolete)
.NET Framework (4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)

CreateRuntimeVariables(Object[], Int64[])

Source:
RuntimeOps.RuntimeVariableList.cs
Source:
RuntimeOps.RuntimeVariableList.cs
Source:
RuntimeOps.RuntimeVariableList.cs

Caution

do not use this method

Creates an interface that can be used to modify closed over variables at runtime.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
[System.Obsolete("do not use this method", true)]
public static System.Runtime.CompilerServices.IRuntimeVariables CreateRuntimeVariables(object[] data, long[] indexes);

Parameters

data
Object[]

The closure array.

indexes
Int64[]

An array of indices into the closure array where variables are found.

Returns

An interface to access variables.

Attributes

Applies to

.NET Framework 4.8.1 and other versions
Product Versions (Obsolete)
.NET Framework (4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)