SyntaxFactory.XmlProcessingInstruction 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
XmlProcessingInstruction(XmlNameSyntax) |
建立新的 XmlProcessingInstructionSyntax 實例。 |
XmlProcessingInstruction(XmlNameSyntax, SyntaxTokenList) |
建立新的 XmlProcessingInstructionSyntax 實例。 |
XmlProcessingInstruction(SyntaxToken, XmlNameSyntax, SyntaxTokenList, SyntaxToken) |
建立新的 XmlProcessingInstructionSyntax 實例。 |
XmlProcessingInstruction(XmlNameSyntax)
建立新的 XmlProcessingInstructionSyntax 實例。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::XmlProcessingInstructionSyntax ^ XmlProcessingInstruction(Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameSyntax ^ name);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlProcessingInstructionSyntax XmlProcessingInstruction (Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax name);
static member XmlProcessingInstruction : Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlProcessingInstructionSyntax
Public Shared Function XmlProcessingInstruction (name As XmlNameSyntax) As XmlProcessingInstructionSyntax
參數
- name
- XmlNameSyntax
傳回
適用於
XmlProcessingInstruction(XmlNameSyntax, SyntaxTokenList)
建立新的 XmlProcessingInstructionSyntax 實例。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::XmlProcessingInstructionSyntax ^ XmlProcessingInstruction(Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxTokenList textTokens);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlProcessingInstructionSyntax XmlProcessingInstruction (Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax name, Microsoft.CodeAnalysis.SyntaxTokenList textTokens);
static member XmlProcessingInstruction : Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax * Microsoft.CodeAnalysis.SyntaxTokenList -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlProcessingInstructionSyntax
Public Shared Function XmlProcessingInstruction (name As XmlNameSyntax, textTokens As SyntaxTokenList) As XmlProcessingInstructionSyntax
參數
- name
- XmlNameSyntax
- textTokens
- SyntaxTokenList
傳回
適用於
XmlProcessingInstruction(SyntaxToken, XmlNameSyntax, SyntaxTokenList, SyntaxToken)
建立新的 XmlProcessingInstructionSyntax 實例。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::XmlProcessingInstructionSyntax ^ XmlProcessingInstruction(Microsoft::CodeAnalysis::SyntaxToken startProcessingInstructionToken, Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxTokenList textTokens, Microsoft::CodeAnalysis::SyntaxToken endProcessingInstructionToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlProcessingInstructionSyntax XmlProcessingInstruction (Microsoft.CodeAnalysis.SyntaxToken startProcessingInstructionToken, Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax name, Microsoft.CodeAnalysis.SyntaxTokenList textTokens, Microsoft.CodeAnalysis.SyntaxToken endProcessingInstructionToken);
static member XmlProcessingInstruction : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlProcessingInstructionSyntax
Public Shared Function XmlProcessingInstruction (startProcessingInstructionToken As SyntaxToken, name As XmlNameSyntax, textTokens As SyntaxTokenList, endProcessingInstructionToken As SyntaxToken) As XmlProcessingInstructionSyntax
參數
- startProcessingInstructionToken
- SyntaxToken
- name
- XmlNameSyntax
- textTokens
- SyntaxTokenList
- endProcessingInstructionToken
- SyntaxToken