共用方式為


SyntaxFactory.XmlNameAttribute 方法

定義

多載

XmlNameAttribute(XmlNameSyntax, SyntaxToken, SyntaxToken, IdentifierNameSyntax, SyntaxToken)

建立新的 XmlNameAttributeSyntax 實例。

XmlNameAttribute(XmlNameSyntax, SyntaxToken, String, SyntaxToken)

建立新的 XmlNameAttributeSyntax 實例。

XmlNameAttribute(String)

在 xml 檔批註內的 xml 元素中,建立名稱屬性的語法節點。

XmlNameAttribute(XmlNameSyntax, SyntaxToken, IdentifierNameSyntax, SyntaxToken)

建立新的 XmlNameAttributeSyntax 實例。

XmlNameAttribute(XmlNameSyntax, SyntaxToken, SyntaxToken, 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

建立新的 XmlNameAttributeSyntax 實例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameAttributeSyntax ^ XmlNameAttribute(Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxToken equalsToken, Microsoft::CodeAnalysis::SyntaxToken startQuoteToken, Microsoft::CodeAnalysis::CSharp::Syntax::IdentifierNameSyntax ^ identifier, Microsoft::CodeAnalysis::SyntaxToken endQuoteToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameAttributeSyntax XmlNameAttribute (Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax name, Microsoft.CodeAnalysis.SyntaxToken equalsToken, Microsoft.CodeAnalysis.SyntaxToken startQuoteToken, Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax identifier, Microsoft.CodeAnalysis.SyntaxToken endQuoteToken);
static member XmlNameAttribute : Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameAttributeSyntax
Public Shared Function XmlNameAttribute (name As XmlNameSyntax, equalsToken As SyntaxToken, startQuoteToken As SyntaxToken, identifier As IdentifierNameSyntax, endQuoteToken As SyntaxToken) As XmlNameAttributeSyntax

參數

equalsToken
SyntaxToken
startQuoteToken
SyntaxToken
endQuoteToken
SyntaxToken

傳回

適用於

XmlNameAttribute(XmlNameSyntax, SyntaxToken, String, 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

建立新的 XmlNameAttributeSyntax 實例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameAttributeSyntax ^ XmlNameAttribute(Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxToken startQuoteToken, System::String ^ identifier, Microsoft::CodeAnalysis::SyntaxToken endQuoteToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameAttributeSyntax XmlNameAttribute (Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax name, Microsoft.CodeAnalysis.SyntaxToken startQuoteToken, string identifier, Microsoft.CodeAnalysis.SyntaxToken endQuoteToken);
static member XmlNameAttribute : Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax * Microsoft.CodeAnalysis.SyntaxToken * string * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameAttributeSyntax
Public Shared Function XmlNameAttribute (name As XmlNameSyntax, startQuoteToken As SyntaxToken, identifier As String, endQuoteToken As SyntaxToken) As XmlNameAttributeSyntax

參數

startQuoteToken
SyntaxToken
identifier
String
endQuoteToken
SyntaxToken

傳回

適用於

XmlNameAttribute(String)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

在 xml 檔批註內的 xml 元素中,建立名稱屬性的語法節點。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameAttributeSyntax ^ XmlNameAttribute(System::String ^ parameterName);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameAttributeSyntax XmlNameAttribute (string parameterName);
static member XmlNameAttribute : string -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameAttributeSyntax
Public Shared Function XmlNameAttribute (parameterName As String) As XmlNameAttributeSyntax

參數

parameterName
String

name 屬性的值。

傳回

適用於

XmlNameAttribute(XmlNameSyntax, SyntaxToken, 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

建立新的 XmlNameAttributeSyntax 實例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameAttributeSyntax ^ XmlNameAttribute(Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxToken startQuoteToken, Microsoft::CodeAnalysis::CSharp::Syntax::IdentifierNameSyntax ^ identifier, Microsoft::CodeAnalysis::SyntaxToken endQuoteToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameAttributeSyntax XmlNameAttribute (Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax name, Microsoft.CodeAnalysis.SyntaxToken startQuoteToken, Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax identifier, Microsoft.CodeAnalysis.SyntaxToken endQuoteToken);
static member XmlNameAttribute : Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameAttributeSyntax
Public Shared Function XmlNameAttribute (name As XmlNameSyntax, startQuoteToken As SyntaxToken, identifier As IdentifierNameSyntax, endQuoteToken As SyntaxToken) As XmlNameAttributeSyntax

參數

startQuoteToken
SyntaxToken
endQuoteToken
SyntaxToken

傳回

適用於