Click or drag to resize

NativeParameterInfoForType 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#
public static NativeParameterInfo ForType(
	Type type,
	bool isOutput = false
)

Parameters

type
Type: SystemType
The type.
isOutput (Optional)
Type: SystemBoolean
A value indicating whether the parameter has no input.

Return Value

Type: NativeParameterInfo
A struct for the type.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown if type is not a valid native parameter type.
See Also