다음을 통해 공유


SyntaxFactory.Whitespace 메서드

정의

오버로드

Whitespace(String)

지정된 텍스트를 포함하는 WhitespaceTrivia 종류가 포함된 퀴즈를 만듭니다.

Whitespace(String, Boolean)
사용되지 않음.

Whitespace(String)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

지정된 텍스트를 포함하는 WhitespaceTrivia 종류가 포함된 퀴즈를 만듭니다.

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

매개 변수

text
String

공백의 텍스트입니다. 여기서는 모든 텍스트를 지정할 수 있지만 파서에서 특정 공백 문자만 인식합니다.

반환

적용 대상

Whitespace(String, Boolean)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

주의

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

매개 변수

text
String
elastic
Boolean

반환

특성

적용 대상