Skip to content

BooleanName Structure#

Defines a boolean parameter name by combining the parameter name string and the parameter type information.

Syntax#

C#

public struct BooleanName

VB

Public Structure BooleanName

The BooleanName type exposes the following members.

Constructors#

NameDescription
Public methodBooleanName Creates a boolean parameter name.
 

Properties#

NameDescription
Public propertyName The boolean parameter name as string.
 

Methods#

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

Operators#

NameDescription
Public operatorStatic memberExplicit(String to BooleanName) Creates a boolean parameter name from a string.
 

BooleanName Explicit Conversion (String to BooleanName)#

Creates a boolean parameter name from a string.

Syntax#

C#

public static explicit operator BooleanName (
    string name
)

VB

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

Parameters#

 

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

Return Value#

Type: BooleanName
Returns the boolean parameter name.

BooleanName.ToString Method#

The boolean 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 boolean parameter name as string. The name can include path information.

BooleanName Constructor#

Creates a boolean parameter name.

Syntax#

C#

public BooleanName(
    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.

BooleanName.Name Property#

The boolean parameter name as string.

Syntax#

C#

public string Name { get; }

VB

Public ReadOnly Property Name As String
    Get

Property Value#

Type: String

BooleanName Type Conversions#

The BooleanName type exposes the following members.

Operators#

NameDescription
Public operatorStatic memberExplicit(String to BooleanName) Creates a boolean parameter name from a string.