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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET