SyntaxFactory.XmlCrefAttribute 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
XmlCrefAttribute(XmlNameSyntax, SyntaxToken, SyntaxToken, CrefSyntax, SyntaxToken) |
建立新的 XmlCrefAttributeSyntax 實例。 |
XmlCrefAttribute(XmlNameSyntax, SyntaxToken, CrefSyntax, SyntaxToken) |
建立新的 XmlCrefAttributeSyntax 實例。 |
XmlCrefAttribute(CrefSyntax) |
在 xml 檔批註內建立 cref 屬性的語法節點。 |
XmlCrefAttribute(CrefSyntax, SyntaxKind) |
在 xml 檔批註內建立 cref 屬性的語法節點。 |
XmlCrefAttribute(XmlNameSyntax, SyntaxToken, SyntaxToken, CrefSyntax, SyntaxToken)
建立新的 XmlCrefAttributeSyntax 實例。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::XmlCrefAttributeSyntax ^ XmlCrefAttribute(Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxToken equalsToken, Microsoft::CodeAnalysis::SyntaxToken startQuoteToken, Microsoft::CodeAnalysis::CSharp::Syntax::CrefSyntax ^ cref, Microsoft::CodeAnalysis::SyntaxToken endQuoteToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax XmlCrefAttribute (Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax name, Microsoft.CodeAnalysis.SyntaxToken equalsToken, Microsoft.CodeAnalysis.SyntaxToken startQuoteToken, Microsoft.CodeAnalysis.CSharp.Syntax.CrefSyntax cref, Microsoft.CodeAnalysis.SyntaxToken endQuoteToken);
static member XmlCrefAttribute : Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.CrefSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax
Public Shared Function XmlCrefAttribute (name As XmlNameSyntax, equalsToken As SyntaxToken, startQuoteToken As SyntaxToken, cref As CrefSyntax, endQuoteToken As SyntaxToken) As XmlCrefAttributeSyntax
參數
- name
- XmlNameSyntax
- equalsToken
- SyntaxToken
- startQuoteToken
- SyntaxToken
- cref
- CrefSyntax
- endQuoteToken
- SyntaxToken
傳回
適用於
XmlCrefAttribute(XmlNameSyntax, SyntaxToken, CrefSyntax, SyntaxToken)
建立新的 XmlCrefAttributeSyntax 實例。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::XmlCrefAttributeSyntax ^ XmlCrefAttribute(Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxToken startQuoteToken, Microsoft::CodeAnalysis::CSharp::Syntax::CrefSyntax ^ cref, Microsoft::CodeAnalysis::SyntaxToken endQuoteToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax XmlCrefAttribute (Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax name, Microsoft.CodeAnalysis.SyntaxToken startQuoteToken, Microsoft.CodeAnalysis.CSharp.Syntax.CrefSyntax cref, Microsoft.CodeAnalysis.SyntaxToken endQuoteToken);
static member XmlCrefAttribute : Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.CrefSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax
Public Shared Function XmlCrefAttribute (name As XmlNameSyntax, startQuoteToken As SyntaxToken, cref As CrefSyntax, endQuoteToken As SyntaxToken) As XmlCrefAttributeSyntax
參數
- name
- XmlNameSyntax
- startQuoteToken
- SyntaxToken
- cref
- CrefSyntax
- endQuoteToken
- SyntaxToken
傳回
適用於
XmlCrefAttribute(CrefSyntax)
在 xml 檔批註內建立 cref 屬性的語法節點。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::XmlCrefAttributeSyntax ^ XmlCrefAttribute(Microsoft::CodeAnalysis::CSharp::Syntax::CrefSyntax ^ cref);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax XmlCrefAttribute (Microsoft.CodeAnalysis.CSharp.Syntax.CrefSyntax cref);
static member XmlCrefAttribute : Microsoft.CodeAnalysis.CSharp.Syntax.CrefSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax
Public Shared Function XmlCrefAttribute (cref As CrefSyntax) As XmlCrefAttributeSyntax
參數
- cref
- CrefSyntax
CrefSyntax用於 xml cref 屬性語法的 。
傳回
適用於
XmlCrefAttribute(CrefSyntax, SyntaxKind)
在 xml 檔批註內建立 cref 屬性的語法節點。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::XmlCrefAttributeSyntax ^ XmlCrefAttribute(Microsoft::CodeAnalysis::CSharp::Syntax::CrefSyntax ^ cref, Microsoft::CodeAnalysis::CSharp::SyntaxKind quoteKind);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax XmlCrefAttribute (Microsoft.CodeAnalysis.CSharp.Syntax.CrefSyntax cref, Microsoft.CodeAnalysis.CSharp.SyntaxKind quoteKind);
static member XmlCrefAttribute : Microsoft.CodeAnalysis.CSharp.Syntax.CrefSyntax * Microsoft.CodeAnalysis.CSharp.SyntaxKind -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlCrefAttributeSyntax
Public Shared Function XmlCrefAttribute (cref As CrefSyntax, quoteKind As SyntaxKind) As XmlCrefAttributeSyntax
參數
- cref
- CrefSyntax
CrefSyntax用於 xml cref 屬性語法的 。
- quoteKind
- SyntaxKind
cref 屬性中參考專案的引號種類。