Поделиться через


SyntaxNode.GetAnnotatedTrivia Метод

Определение

Перегрузки

GetAnnotatedTrivia(SyntaxAnnotation)

Возвращает все тривии с указанной заметкой.

GetAnnotatedTrivia(String)

Возвращает все тривии с заметкой указанного типа заметки.

GetAnnotatedTrivia(String[])

Получает все тривии с заметкой указанных типов заметок.

GetAnnotatedTrivia(SyntaxAnnotation)

Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs

Возвращает все тривии с указанной заметкой.

public:
 System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ GetAnnotatedTrivia(Microsoft::CodeAnalysis::SyntaxAnnotation ^ annotation);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> GetAnnotatedTrivia (Microsoft.CodeAnalysis.SyntaxAnnotation annotation);
member this.GetAnnotatedTrivia : Microsoft.CodeAnalysis.SyntaxAnnotation -> seq<Microsoft.CodeAnalysis.SyntaxTrivia>
Public Function GetAnnotatedTrivia (annotation As SyntaxAnnotation) As IEnumerable(Of SyntaxTrivia)

Параметры

annotation
SyntaxAnnotation

Возвращаемое значение

Применяется к

GetAnnotatedTrivia(String)

Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs

Возвращает все тривии с заметкой указанного типа заметки.

public:
 System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ GetAnnotatedTrivia(System::String ^ annotationKind);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> GetAnnotatedTrivia (string annotationKind);
member this.GetAnnotatedTrivia : string -> seq<Microsoft.CodeAnalysis.SyntaxTrivia>
Public Function GetAnnotatedTrivia (annotationKind As String) As IEnumerable(Of SyntaxTrivia)

Параметры

annotationKind
String

Возвращаемое значение

Применяется к

GetAnnotatedTrivia(String[])

Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs

Получает все тривии с заметкой указанных типов заметок.

public:
 System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ GetAnnotatedTrivia(... cli::array <System::String ^> ^ annotationKinds);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> GetAnnotatedTrivia (params string[] annotationKinds);
member this.GetAnnotatedTrivia : string[] -> seq<Microsoft.CodeAnalysis.SyntaxTrivia>
Public Function GetAnnotatedTrivia (ParamArray annotationKinds As String()) As IEnumerable(Of SyntaxTrivia)

Параметры

annotationKinds
String[]

Возвращаемое значение

Применяется к