Compartir a través de


SyntaxFactory.ParseAttributeArgumentList Método

Definición

Analice un nodo AttributeArgumentListSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeArgumentListSyntax ParseAttributeArgumentList (string text, int offset = 0, Microsoft.CodeAnalysis.ParseOptions options = default, bool consumeFullText = true);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeArgumentListSyntax ParseAttributeArgumentList (string text, int offset = 0, Microsoft.CodeAnalysis.ParseOptions? options = default, bool consumeFullText = true);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeArgumentListSyntax? ParseAttributeArgumentList (string text, int offset = 0, Microsoft.CodeAnalysis.ParseOptions? options = default, bool consumeFullText = true);
static member ParseAttributeArgumentList : string * int * Microsoft.CodeAnalysis.ParseOptions * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.AttributeArgumentListSyntax
Public Shared Function ParseAttributeArgumentList (text As String, Optional offset As Integer = 0, Optional options As ParseOptions = Nothing, Optional consumeFullText As Boolean = true) As AttributeArgumentListSyntax

Parámetros

text
String

Texto de la lista de argumentos de atributo.

offset
Int32

Desplazamiento opcional en texto.

options
ParseOptions

Opciones de análisis opcionales que se van a usar. Si no se especifican opciones predeterminadas.

consumeFullText
Boolean

True si los tokens adicionales de la entrada deben tratarse como un error.

Devoluciones

Se aplica a