Compartir a través de


SyntaxGenerator.GetAccessor(SyntaxNode, DeclarationKind) Método

Definición

Obtiene el descriptor de acceso del tipo especificado para la declaración.

public:
 Microsoft::CodeAnalysis::SyntaxNode ^ GetAccessor(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, Microsoft::CodeAnalysis::Editing::DeclarationKind kind);
public Microsoft.CodeAnalysis.SyntaxNode GetAccessor (Microsoft.CodeAnalysis.SyntaxNode declaration, Microsoft.CodeAnalysis.Editing.DeclarationKind kind);
public Microsoft.CodeAnalysis.SyntaxNode? GetAccessor (Microsoft.CodeAnalysis.SyntaxNode declaration, Microsoft.CodeAnalysis.Editing.DeclarationKind kind);
member this.GetAccessor : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.Editing.DeclarationKind -> Microsoft.CodeAnalysis.SyntaxNode
Public Function GetAccessor (declaration As SyntaxNode, kind As DeclarationKind) As SyntaxNode

Parámetros

declaration
SyntaxNode

Devoluciones

Se aplica a