SyntaxFactory.Whitespace Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Whitespace(String) |
Creates a trivia with kind WhitespaceTrivia containing the specified text. |
Whitespace(String, Boolean) |
Obsolete.
|
Whitespace(String)
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
Creates a trivia with kind WhitespaceTrivia containing the specified text.
public:
static Microsoft::CodeAnalysis::SyntaxTrivia Whitespace(System::String ^ text);
public static Microsoft.CodeAnalysis.SyntaxTrivia Whitespace (string text);
static member Whitespace : string -> Microsoft.CodeAnalysis.SyntaxTrivia
Public Shared Function Whitespace (text As String) As SyntaxTrivia
Parameters
- text
- String
The text of the whitespace. Any text can be specified here, however only specific whitespace characters are recognized by the parser.
Returns
Applies to
Whitespace(String, Boolean)
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
- Source:
- SyntaxFactory.vb
Caution
Use SyntaxFactory.Whitespace or SyntaxFactory.ElasticWhitespace
public:
static Microsoft::CodeAnalysis::SyntaxTrivia Whitespace(System::String ^ text, bool elastic);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("Use SyntaxFactory.Whitespace or SyntaxFactory.ElasticWhitespace")]
public static Microsoft.CodeAnalysis.SyntaxTrivia Whitespace (string text, bool elastic);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("Use SyntaxFactory.Whitespace or SyntaxFactory.ElasticWhitespace")>]
static member Whitespace : string * bool -> Microsoft.CodeAnalysis.SyntaxTrivia
Public Shared Function Whitespace (text As String, elastic As Boolean) As SyntaxTrivia
Parameters
- text
- String
- elastic
- Boolean
Returns
- Attributes
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.