SyntaxGenerator.AddAccessors Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the declaration with the accessors added.
public:
Microsoft::CodeAnalysis::SyntaxNode ^ AddAccessors(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ accessors);
public Microsoft.CodeAnalysis.SyntaxNode AddAccessors (Microsoft.CodeAnalysis.SyntaxNode declaration, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> accessors);
member this.AddAccessors : Microsoft.CodeAnalysis.SyntaxNode * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public Function AddAccessors (declaration As SyntaxNode, accessors As IEnumerable(Of SyntaxNode)) As SyntaxNode
Parameters
- declaration
- SyntaxNode
- accessors
- IEnumerable<SyntaxNode>
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.