Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Array Properties

The properties of the Array class are listed here. For a complete list of Array class members, see the Array Members topic.

Public Properties

public propertyIsFixedSize

Supported by the .NET Compact Framework.

Gets a value indicating whether the Array has a fixed size.
public propertyIsReadOnly

Supported by the .NET Compact Framework.

Gets a value indicating whether the Array is read-only.
public propertyIsSynchronized

Supported by the .NET Compact Framework.

Gets a value indicating whether access to the Array is synchronized (thread-safe).
public propertyLength

Supported by the .NET Compact Framework.

Gets a 32-bit integer that represents the total number of elements in all the dimensions of the Array.
public propertyLongLength Gets a 64-bit integer that represents the total number of elements in all the dimensions of the Array.
public propertyRank

Supported by the .NET Compact Framework.

Gets the rank (number of dimensions) of the Array.
public propertySyncRoot

Supported by the .NET Compact Framework.

Gets an object that can be used to synchronize access to the Array.

Explicit Interface Implementations

System.Collections.ICollection.Count Gets the number of elements contained in the Array.
System.Collections.IList.Item Gets or sets the element at the specified index.

In C#, this property is the indexer for the Array class.

See Also

Array Class | System Namespace

Show:
© 2015 Microsoft