CSharpArgumentInfo.Create(CSharpArgumentInfoFlags, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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
如果是具名引數,則為引數的名稱,否則為 null。
傳回
CSharpArgumentInfo 類別的新執行個體。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應