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에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET