Goblin - A Platform for 3D AR and VR Applications

ArrayCreateExpr Members

ArrayCreateExpr overview

Public Instance Constructors

ArrayCreateExpr Constructor Initializes a new instance of the ArrayCreateExpr class.

Public Instance Properties

CreateType Gets or sets the type of the elements that the array being created stores.
DimensionCount Gets or sets the number of dimensions in the array (where [,,] has three dimensions). The default value is 1 which represents 'normal' arrays (int[]).
Initializer Gets or sets the objects the array is initialized with (the {1,2,3} part).
LinePragma (inherited from CSharpGraph) 
RankSpecifiers Gets a collection of rank specifiers for the array. Rank specifiers represent each bracketed section of an array ([,,][,] indicates two rank specifiers). Only the first rank specifier can hold size information, so there is no need for a collection of rank specifier sizes. Note: the .net documentation can be confusing on these terms, as it uses 'rank' and 'dimensions' interchangeably, and 'jagged arrays' for these types of arrays of arrays. This is fine, but leaves us with 'a jag' to refer to a rank specifier. The term 'RankSpecifiers' is thus derived from the C# spec instead.
Sizes Gets a collection of sizes of each dimension in the array (eg. int[2,3]).
UserData (inherited from CSharpGraph) Gets or sets the user-definable data for the current object.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
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.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ArrayCreateExpr Class | DDW.CSharp.Dom Namespace