SampSharp
SampSharp
SampSharp.Core.Natives
NativeParameterInfo Structure
NativeParameterInfo Methods
ForType Method
GetBytes Method
GetReferenceArgument Method
NativeParameterInfo
ForType Method
Returns a
NativeParameterInfo
for the specified
type
.
Namespace:
SampSharp.Core.Natives
Assembly:
SampSharp.Core (in SampSharp.Core.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
Copy
public
static
NativeParameterInfo
ForType
(
Type
type
,
bool
isOutput
=
false
)
Parameters
type
Type:
System
Type
The type.
isOutput
(Optional)
Type:
System
Boolean
A value indicating whether the parameter has no input.
Return Value
Type:
NativeParameterInfo
A struct for the type.
Exceptions
Exception
Condition
ArgumentOutOfRangeException
Thrown if
type
is not a valid native parameter type.
See Also
Reference
NativeParameterInfo Structure
SampSharp.Core.Natives Namespace