DkmILParameterValue.Create Method

Definition

Overloads

Create(UInt32, ReadOnlyCollection<Byte>)

Create a new DkmILParameterValue object instance.

Create(UInt32, ReadOnlyCollection<Byte>, Boolean)

Create a new DkmILParameterValue object instance.

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

Create(UInt32, ReadOnlyCollection<Byte>)

Create a new DkmILParameterValue object instance.

public:
 static Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILParameterValue ^ Create(System::UInt32 LocalIndex, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ ValueBytes);
public static Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILParameterValue Create (uint LocalIndex, System.Collections.ObjectModel.ReadOnlyCollection<byte> ValueBytes);
static member Create : uint32 * System.Collections.ObjectModel.ReadOnlyCollection<byte> -> Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILParameterValue
Public Shared Function Create (LocalIndex As UInteger, ValueBytes As ReadOnlyCollection(Of Byte)) As DkmILParameterValue

Parameters

LocalIndex
UInt32

[In] The index of the local variable within the IL that will receive the parameter value. When the IL stream begins executing, the local variable at this index will be preset to the parameter value.

ValueBytes
ReadOnlyCollection<Byte>

[In] The bytes representing the value to pass in as the parameter.

Returns

[Out] Result of this method call.

Applies to

Create(UInt32, ReadOnlyCollection<Byte>, Boolean)

Create a new DkmILParameterValue object instance.

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

public:
 static Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILParameterValue ^ Create(System::UInt32 LocalIndex, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ ValueBytes, bool IsByRef);
public static Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILParameterValue Create (uint LocalIndex, System.Collections.ObjectModel.ReadOnlyCollection<byte> ValueBytes, bool IsByRef);
static member Create : uint32 * System.Collections.ObjectModel.ReadOnlyCollection<byte> * bool -> Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILParameterValue
Public Shared Function Create (LocalIndex As UInteger, ValueBytes As ReadOnlyCollection(Of Byte), IsByRef As Boolean) As DkmILParameterValue

Parameters

LocalIndex
UInt32

[In] The index of the local variable within the IL that will receive the parameter value. When the IL stream begins executing, the local variable at this index will be preset to the parameter value.

ValueBytes
ReadOnlyCollection<Byte>

[In] The bytes representing the value to pass in as the parameter.

IsByRef
Boolean

[In] If true, the inspection query to execute will receive a pseudo-address of the specified value, rather than the value itself. If false, the inspection query will directly receive the value as the specified parameter. For details on pseudo-addresses, see the DkmILPushLocalVariablePseudoAddress instruction.

Returns

[Out] Result of this method call.

Applies to