CSharpArgumentInfo.Create(CSharpArgumentInfoFlags, String) 方法

定義

初始化 CSharpArgumentInfo 類別的新執行個體。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

flags
CSharpArgumentInfoFlags

爭論的警示。

name
String

論證名稱(如有命名);否則為零。

傳回

CSharpArgumentInfo 類別的新執行個體。

適用於