PinvokeMap class
A P/Invoke method representation.
- Inheritance
-
- Object
- TokenObject
- PinvokeMap
Constructors
- PinvokeMap(Scope scope, int token, int _attributes, String importName, int importDllToken, String moduleName)
-
const
- PinvokeMap.fromToken(Scope scope, int token)
-
Creates a P/Invoke method representation object from a provided token.
factory
Properties
- bestFitConvention → BestFit
-
Returns the preferred convention for mapping of Unicode characters that
lack an exact match in the ANSI character set.
no setter
- callingConvention → CallingConvention
-
Returns the calling convention.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- importDllToken → int
-
final
- importName → String
-
final
- isGlobal → bool
-
Returns true if the token is marked as global.
no setterinherited
- isNoMangle → bool
-
Returns true if each member name is used as specified.
no setter
- isResolvedToken → bool
-
Returns true if the token maps to an entry in the WinMD database.
no setterinherited
- moduleName → String
-
final
- reader → IMetaDataImport2
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → Scope
-
The Scope that contains this token.
finalinherited
- stringMarshalConvention → StringMarshalConvention
-
Returns details of the string marshalling convention used for this member.
no setter
- supportsLastError → bool
-
Returns true if the callee is allowed to call the Win32 SetLastError
function before returning from the attributed method.
no setter
- throwOnUnmappableCharConvention → ThrowOnUnmappableChar
-
Returns the preferred convention for how the interop marshaler should
respond when it encounters an unmappable character.
no setter
- token → int
-
A unique identifier for this token in the metadata file.
finalinherited
- tokenType → TokenType
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited