SyntaxNodeOrToken.WithAdditionalAnnotations 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WithAdditionalAnnotations(SyntaxAnnotation[]) |
使用指定的批注创建与此节点相同的新节点或令牌。 |
WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>) |
使用指定的批注创建与此节点相同的新节点或令牌。 |
WithAdditionalAnnotations(SyntaxAnnotation[])
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
使用指定的批注创建与此节点相同的新节点或令牌。
public:
Microsoft::CodeAnalysis::SyntaxNodeOrToken WithAdditionalAnnotations(... cli::array <Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public Microsoft.CodeAnalysis.SyntaxNodeOrToken WithAdditionalAnnotations (params Microsoft.CodeAnalysis.SyntaxAnnotation[] annotations);
member this.WithAdditionalAnnotations : Microsoft.CodeAnalysis.SyntaxAnnotation[] -> Microsoft.CodeAnalysis.SyntaxNodeOrToken
Public Function WithAdditionalAnnotations (ParamArray annotations As SyntaxAnnotation()) As SyntaxNodeOrToken
参数
- annotations
- SyntaxAnnotation[]
返回
适用于
WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation>)
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
使用指定的批注创建与此节点相同的新节点或令牌。
public:
Microsoft::CodeAnalysis::SyntaxNodeOrToken WithAdditionalAnnotations(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public Microsoft.CodeAnalysis.SyntaxNodeOrToken WithAdditionalAnnotations (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxAnnotation> annotations);
member this.WithAdditionalAnnotations : seq<Microsoft.CodeAnalysis.SyntaxAnnotation> -> Microsoft.CodeAnalysis.SyntaxNodeOrToken
Public Function WithAdditionalAnnotations (annotations As IEnumerable(Of SyntaxAnnotation)) As SyntaxNodeOrToken
参数
- annotations
- IEnumerable<SyntaxAnnotation>