CompilationUnitManager.Rename(RenameParams) 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.
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
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.