Skip to content

ArrayName Structure#

Defines an array parameter name by combining the parameter name string and the parameter type information.

Syntax#

C#

public struct ArrayName

VB

Public Structure ArrayName

The ArrayName type exposes the following members.

Constructors#

NameDescription
Public methodArrayName Creates an array parameter name.
 

Properties#

NameDescription
Public propertyName The array parameter name as string.
 

Methods#

NameDescription
Public methodToString The array parameter name as string. (Overrides ValueType.ToString().)
 

Operators#

NameDescription
Public operatorStatic memberExplicit(String to ArrayName) Creates an array parameter name from a string.
 

ArrayName Explicit Conversion (String to ArrayName)#

Creates an array parameter name from a string.

Syntax#

C#

public static explicit operator ArrayName (
    string name
)

VB

Public Shared Narrowing Operator CType ( 
    name As String
) As ArrayName

Parameters#

 

name
Type: System.String
The name of the parameter as string. The name can include path information.

Return Value#

Type: ArrayName
Returns the array parameter name.

ArrayName.ToString Method#

The array parameter name as string.

Syntax#

C#

public override sealed string ToString()

VB

Public Overrides NotOverridable Function ToString As String

Return Value#

Type: String
Returns the array parameter name as string. The name can include path information.

ArrayName Constructor#

Creates an array parameter name.

Syntax#

C#

public ArrayName(
    string name
)

VB

Public Sub New ( 
    name As String
)

Parameters#

 

name
Type: System.String
The name of the parameter as string. The name can include path information.

ArrayName.Name Property#

The array parameter name as string.

Syntax#

C#

public string Name { get; }

VB

Public ReadOnly Property Name As String
    Get

Property Value#

Type: String

ArrayName Type Conversions#

The ArrayName type exposes the following members.

Operators#

NameDescription
Public operatorStatic memberExplicit(String to ArrayName) Creates an array parameter name from a string.