CSharpArgumentInfo.Create(CSharpArgumentInfoFlags, String) Method

Definition

Initializes a new instance of the CSharpArgumentInfo class.

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

public:
 static Microsoft::CSharp::RuntimeBinder::CSharpArgumentInfo ^ Create(Microsoft::CSharp::RuntimeBinder::CSharpArgumentInfoFlags flags, System::String ^ name);
public static Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo Create (Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags flags, string name);
public static Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo Create (Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags flags, string? name);
static member Create : Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags * string -> Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo
Public Shared Function Create (flags As CSharpArgumentInfoFlags, name As String) As CSharpArgumentInfo

Parameters

flags
CSharpArgumentInfoFlags

The flags for the argument.

name
String

The name of the argument, if named; otherwise null.

Returns

A new instance of the CSharpArgumentInfo class.

Applies to