TypeLibFuncAttribute 构造函数
定义
初始化 TypeLibFuncAttribute 类的新实例。Initializes a new instance of the TypeLibFuncAttribute class.
重载
| TypeLibFuncAttribute(Int16) |
使用指定的 TypeLibFuncFlags 值初始化 |
| TypeLibFuncAttribute(TypeLibFuncFlags) |
使用指定的 TypeLibFuncFlags 值初始化 |
TypeLibFuncAttribute(Int16)
使用指定的 TypeLibFuncFlags 值初始化 TypeLibFuncAttribute 类的新实例。Initializes a new instance of the TypeLibFuncAttribute class with the specified TypeLibFuncFlags value.
public:
TypeLibFuncAttribute(short flags);
public TypeLibFuncAttribute (short flags);
new System.Runtime.InteropServices.TypeLibFuncAttribute : int16 -> System.Runtime.InteropServices.TypeLibFuncAttribute
Public Sub New (flags As Short)
参数
- flags
- Int16
该特性化方法的 TypeLibFuncFlags 值,是在从中导入的类型库中找到的。The TypeLibFuncFlags value for the attributed method as found in the type library it was imported from.
另请参阅
适用于
TypeLibFuncAttribute(TypeLibFuncFlags)
使用指定的 TypeLibFuncFlags 值初始化 TypeLibFuncAttribute 类的新实例。Initializes a new instance of the TypeLibFuncAttribute class with the specified TypeLibFuncFlags value.
public:
TypeLibFuncAttribute(System::Runtime::InteropServices::TypeLibFuncFlags flags);
public TypeLibFuncAttribute (System.Runtime.InteropServices.TypeLibFuncFlags flags);
new System.Runtime.InteropServices.TypeLibFuncAttribute : System.Runtime.InteropServices.TypeLibFuncFlags -> System.Runtime.InteropServices.TypeLibFuncAttribute
Public Sub New (flags As TypeLibFuncFlags)
参数
- flags
- TypeLibFuncFlags
该特性化方法的 TypeLibFuncFlags 值,是在从中导入的类型库中找到的。The TypeLibFuncFlags value for the attributed method as found in the type library it was imported from.