DocumentRenameOptions(Boolean, Boolean) Constructor
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.
Options for renaming a document.
public DocumentRenameOptions(bool RenameMatchingTypeInStrings = false, bool RenameMatchingTypeInComments = false);
new Microsoft.CodeAnalysis.Rename.DocumentRenameOptions : bool * bool -> Microsoft.CodeAnalysis.Rename.DocumentRenameOptions
Public Sub New (Optional RenameMatchingTypeInStrings As Boolean = false, Optional RenameMatchingTypeInComments As Boolean = false)
Parameters
- RenameMatchingTypeInStrings
- Boolean
If the document contains a type declaration with matching name rename identifiers in strings that match the name as well.
- RenameMatchingTypeInComments
- Boolean
If the document contains a type declaration with matching name rename identifiers in comments that match the name as well.