NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Array Members

Public:

Properties

IsReadOnly Gets a value indicating whether the Array is read-only.
IsSynchronized Gets a value indicating whether access to the Array is synchronized (thread-safe).
Length Gets the total number of elements in all the dimensions of the Array.
Rank Gets the rank, or number of dimensions, in the Array.
SyncRoot Gets an object that can be used to synchronize access to the Array.

Methods

AsList Returns a fixed-size IList that represents the specified Array.
BinarySearch Overloaded. Searches a one-dimensional Array for a value using a binary search algorithm.
Clear Sets a range of elements in the Array to 0 or a null reference (in Visual Basic Nothing).
Clone Creates a deep copy of the Array.
Copy Overloaded. Copies a section of one Array to another Array, and performs type-downcasting as required.
CopyTo Copies all the elements of the current Array into the specified Array, starting at the specified destination Array index.
CreateInstance Overloaded. Initializes a new instance of the Array class.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetEnumerator Returns an IEnumerator for the one-dimensional Array.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLength Gets the number of elements in the specified dimension of the Array.
GetLowerBound Gets the lower bound of the specified dimension in the Array.
GetType (inherited from Object) Gets the Type of the Object.
GetUpperBound Gets the upper bound of the specified dimension in the Array.
GetValue Overloaded. Gets the value(s) of the Array element(s) at the specified index(es).
IndexOf Overloaded. Returns the index of the first occurrence of a value in a one-dimensional Array, or in a portion of it.
Initialize Initializes every element of the value-type Array, by calling the default constructor of the value class.
LastIndexOf Overloaded. Returns the index of the last occurrence of a value in a one-dimensional Array, or in a portion of it.
Reverse Overloaded. Reverses the order of the elements in the specified one-dimensional Array, or in a portion of it.
SetValue Overloaded. Sets the specified Array element(s) to the specified value.
Sort Overloaded. Sorts the elements in one-dimensional Array objects.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

Constructor

Array Constructor Initializes a new instance of the Array class.

Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Array Class | System Namespace