共用方式為


SyntaxFactory.RegionDirectiveTrivia 方法

定義

多載

RegionDirectiveTrivia()

表示來源中出現#Region指示詞的開頭。

RegionDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken)

表示來源中出現#Region指示詞的開頭。

RegionDirectiveTrivia()

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

表示來源中出現#Region指示詞的開頭。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::RegionDirectiveTriviaSyntax ^ RegionDirectiveTrivia();
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.RegionDirectiveTriviaSyntax RegionDirectiveTrivia ();
static member RegionDirectiveTrivia : unit -> Microsoft.CodeAnalysis.VisualBasic.Syntax.RegionDirectiveTriviaSyntax
Public Shared Function RegionDirectiveTrivia () As RegionDirectiveTriviaSyntax

傳回

適用於

RegionDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

表示來源中出現#Region指示詞的開頭。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::RegionDirectiveTriviaSyntax ^ RegionDirectiveTrivia(Microsoft::CodeAnalysis::SyntaxToken hashToken, Microsoft::CodeAnalysis::SyntaxToken regionKeyword, Microsoft::CodeAnalysis::SyntaxToken name);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.RegionDirectiveTriviaSyntax RegionDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken regionKeyword, Microsoft.CodeAnalysis.SyntaxToken name);
static member RegionDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.RegionDirectiveTriviaSyntax
Public Shared Function RegionDirectiveTrivia (hashToken As SyntaxToken, regionKeyword As SyntaxToken, name As SyntaxToken) As RegionDirectiveTriviaSyntax

參數

hashToken
SyntaxToken

預處理器指示詞中的 「#」 權杖。

regionKeyword
SyntaxToken

「Region」 關鍵字。

name
SyntaxToken

所定義之程式碼區域的標籤。

傳回

適用於