Click or drag to resize

VariableCollection Class

Represents a collection of SA:MP variables.
Inheritance Hierarchy
SystemObject
  SampSharp.Entities.SAMPVariableCollection

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public class VariableCollection : IDictionary<string, Object>, 
	ICollection<KeyValuePair<string, Object>>, IEnumerable<KeyValuePair<string, Object>>, 
	IEnumerable

The VariableCollection type exposes the following members.

Properties
Methods
  NameDescription
Public methodAdd
Public methodClear
Public methodContainsKey
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetFloat
Gets a floating-point value of the variable with the specified varName.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInt
Gets an integer value of the variable with the specified varName.
Public methodGetString
Gets a string value of the variable with the specified varName.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Public methodSet(String, Int32)
Sets and replaces the value of the variable with the specified varName with the specified value.
Public methodSet(String, Object)
Sets and replaces the value of the variable with the specified varName with the specified value.
Public methodSet(String, Single)
Sets and replaces the value of the variable with the specified varName with the specified value.
Public methodSet(String, String)
Sets and replaces the value of the variable with the specified varName with the specified value.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
Top
See Also