Share via


DocumentRenameOptions(Boolean, Boolean) Constructor

Definition

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.

Applies to