Compartir a través de


SyntaxFactory.Whitespace Método

Definición

Sobrecargas

Whitespace(String)

Crea una trivia con el tipo WhitespaceTrivia que contiene el texto especificado.

Whitespace(String, Boolean)
Obsoletos.

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

Crea una trivia con el tipo WhitespaceTrivia que contiene el texto especificado.

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

Parámetros

text
String

Texto del espacio en blanco. Cualquier texto se puede especificar aquí, pero solo el analizador reconoce caracteres de espacio en blanco específicos.

Devoluciones

Se aplica a

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

Precaución

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

Parámetros

text
String
elastic
Boolean

Devoluciones

Atributos

Se aplica a