IDispatchImplAttribute Constructor (Int16)

 

Initializes a new instance of the IDispatchImplAttribute class with specified IDispatchImplType value.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

public:
IDispatchImplAttribute(
	short implType
)

Parameters

implType
Type: System::Int16

Indicates which IDispatchImplType enumeration will be used.

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.

.NET Framework
Available since 1.1
Return to top
Show: