CompilationUnitManager.Rename(RenameParams) Method

Definition

Returns the workspace edit that describes the changes to be done if the symbol at the given position - if any - is renamed to the given name.

public Microsoft.VisualStudio.LanguageServer.Protocol.WorkspaceEdit? Rename (Microsoft.VisualStudio.LanguageServer.Protocol.RenameParams? param);
member this.Rename : Microsoft.VisualStudio.LanguageServer.Protocol.RenameParams -> Microsoft.VisualStudio.LanguageServer.Protocol.WorkspaceEdit
Public Function Rename (param As RenameParams) As WorkspaceEdit

Parameters

param
RenameParams

Returns

WorkspaceEdit

Remarks

Null if no symbol exists at the specified position, or if some parameters are unspecified (null), or if the specified position is not a valid position within the file.

Applies to