SyntaxFactory.RegionDirectiveTrivia Method

Definition

Overloads

RegionDirectiveTrivia()

Represents the beginning of a #Region directive appearing in source.

RegionDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken)

Represents the beginning of a #Region directive appearing in source.

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

Represents the beginning of a #Region directive appearing in source.

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

Returns

Applies to

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

Represents the beginning of a #Region directive appearing in source.

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

Parameters

hashToken
SyntaxToken

The "#" token in a preprocessor directive.

regionKeyword
SyntaxToken

The "Region" keyword.

name
SyntaxToken

The label of the code region being defined.

Returns

Applies to