共用方式為


SyntaxFactory.NameColon Method

Definition

Overloads

NameColon(IdentifierNameSyntax)

Creates a new NameColonSyntax instance.

NameColon(String)

Creates a new NameColonSyntax instance.

NameColon(IdentifierNameSyntax, SyntaxToken)

Creates a new NameColonSyntax instance.

NameColon(IdentifierNameSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs

Creates a new NameColonSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::NameColonSyntax ^ NameColon(Microsoft::CodeAnalysis::CSharp::Syntax::IdentifierNameSyntax ^ name);
public static Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax NameColon (Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax name);
static member NameColon : Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax
Public Shared Function NameColon (name As IdentifierNameSyntax) As NameColonSyntax

Parameters

Returns

Applies to

NameColon(String)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs
Source:
NameColonSyntax.cs

Creates a new NameColonSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::NameColonSyntax ^ NameColon(System::String ^ name);
public static Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax NameColon (string name);
static member NameColon : string -> Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax
Public Shared Function NameColon (name As String) As NameColonSyntax

Parameters

name
String

Returns

Applies to

NameColon(IdentifierNameSyntax, SyntaxToken)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new NameColonSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::NameColonSyntax ^ NameColon(Microsoft::CodeAnalysis::CSharp::Syntax::IdentifierNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxToken colonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax NameColon (Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax name, Microsoft.CodeAnalysis.SyntaxToken colonToken);
static member NameColon : Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax
Public Shared Function NameColon (name As IdentifierNameSyntax, colonToken As SyntaxToken) As NameColonSyntax

Parameters

colonToken
SyntaxToken

Returns

Applies to