IDispatchImplAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the IDispatchImplAttribute
class.
Overloads
IDispatchImplAttribute(Int16) |
Initializes a new instance of the |
IDispatchImplAttribute(IDispatchImplType) |
Initializes a new instance of the |
IDispatchImplAttribute(Int16)
- Source:
- IDispatchImplAttribute.cs
Initializes a new instance of the IDispatchImplAttribute
class with specified IDispatchImplType value.
public:
IDispatchImplAttribute(short implType);
public IDispatchImplAttribute (short implType);
new System.Runtime.InteropServices.IDispatchImplAttribute : int16 -> System.Runtime.InteropServices.IDispatchImplAttribute
Public Sub New (implType As Short)
Parameters
- implType
- Int16
Indicates which IDispatchImplType enumeration will be used.
Remarks
This constructor takes an underlying 16-bit signed integer that represents each IDispatchImplType enumeration member. The Type Library Importer (TlbImp.exe) uses this constructor to avoid generating a typeref to the IDispatchImplType
value that value
represents, and then builds the signature with that token.
Applies to
IDispatchImplAttribute(IDispatchImplType)
- Source:
- IDispatchImplAttribute.cs
Initializes a new instance of the IDispatchImplAttribute
class with specified IDispatchImplType value.
public:
IDispatchImplAttribute(System::Runtime::InteropServices::IDispatchImplType implType);
public IDispatchImplAttribute (System.Runtime.InteropServices.IDispatchImplType implType);
new System.Runtime.InteropServices.IDispatchImplAttribute : System.Runtime.InteropServices.IDispatchImplType -> System.Runtime.InteropServices.IDispatchImplAttribute
Public Sub New (implType As IDispatchImplType)
Parameters
- implType
- IDispatchImplType
Indicates which IDispatchImplType enumeration will be used.
Remarks
For readable code that is less prone to error, always use this constructor.