Click or drag to resize

NativeParameterInfo Structure

Note: This API is now obsolete.

Contains information about a native's parameter.

Namespace:  SampSharp.Core.Natives
Assembly:  SampSharp.Core (in SampSharp.Core.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
[ObsoleteAttribute("Native handle based native invocation is deprecated and will be removed in a future version.")]
public struct NativeParameterInfo

The NativeParameterInfo type exposes the following members.

Constructors
  NameDescription
Public methodNativeParameterInfo(NativeParameterType, Boolean)
Initializes a new instance of the NativeParameterInfo struct.
Public methodNativeParameterInfo(NativeParameterType, UInt32, Boolean)
Initializes a new instance of the NativeParameterInfo struct.
Top
Properties
  NameDescription
Public propertyArgumentType
Gets the type as a ServerCommandArgument.
Public propertyIsOutput
Gets a value indicating whether this parameter has no input.
Public propertyLengthIndex
Gets the index of the length parameter specifying the length of this parameter.
Public propertyRequiresLength
Gets a value indicating whether the parameter info requires length information.
Public propertyType
Gets the type.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodStatic memberForType
Returns a NativeParameterInfo for the specified type.
Public methodGetBytes
Converts the value to a collection of bytes according to this parameter.
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetReferenceArgument
Returns the referenced value returned by a native.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
See Also