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 类的新实例。