SyntaxTrivia.WithAdditionalAnnotations 方法

定义

重载

WithAdditionalAnnotations(SyntaxAnnotation[])

使用指定的批注创建新的 SyntaxTrivia。

WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>)

使用指定的批注创建新的 SyntaxTrivia。

WithAdditionalAnnotations(SyntaxAnnotation[])

Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs

使用指定的批注创建新的 SyntaxTrivia。

public:
 Microsoft::CodeAnalysis::SyntaxTrivia WithAdditionalAnnotations(... cli::array <Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public Microsoft.CodeAnalysis.SyntaxTrivia WithAdditionalAnnotations (params Microsoft.CodeAnalysis.SyntaxAnnotation[] annotations);
member this.WithAdditionalAnnotations : Microsoft.CodeAnalysis.SyntaxAnnotation[] -> Microsoft.CodeAnalysis.SyntaxTrivia
Public Function WithAdditionalAnnotations (ParamArray annotations As SyntaxAnnotation()) As SyntaxTrivia

参数

annotations
SyntaxAnnotation[]

返回

适用于

WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>)

Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs
Source:
SyntaxTrivia.cs

使用指定的批注创建新的 SyntaxTrivia。

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

参数

返回

适用于