Compartilhar via


DkmNativeCppNamedExpressionParameter.Create(String, DkmNativeCppType) Method

Definition

Create a new DkmNativeCppNamedExpressionParameter object instance.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

public:
 static Microsoft::VisualStudio::Debugger::Native::Cpp::DkmNativeCppNamedExpressionParameter ^ Create(System::String ^ Name, Microsoft::VisualStudio::Debugger::Native::Cpp::DkmNativeCppType ^ Type);
public static Microsoft.VisualStudio.Debugger.Native.Cpp.DkmNativeCppNamedExpressionParameter Create (string Name, Microsoft.VisualStudio.Debugger.Native.Cpp.DkmNativeCppType Type);
static member Create : string * Microsoft.VisualStudio.Debugger.Native.Cpp.DkmNativeCppType -> Microsoft.VisualStudio.Debugger.Native.Cpp.DkmNativeCppNamedExpressionParameter
Public Shared Function Create (Name As String, Type As DkmNativeCppType) As DkmNativeCppNamedExpressionParameter

Parameters

Name
String

[In] The name of this parameter. This name must be a legal C++ identifier, with the exception that '$' is a valid character. Expressions passed to CompileNativeExpression() may use the parameter name to refer to the parameter. In the resultant IL, parameters are read via a DkmILLoad instruction. The first parameter (index 0) is an implicit 'this' pointer, present only if 'TypeContext' is non-null. Named parameter follow immediately after.

Type
DkmNativeCppType

[In] The type of this parameter.

Returns

[Out] Result of this method call.

Applies to