Auf Englisch lesen

Freigeben über


DocumentRenameOptions Struct

Definition

Options for renaming a document.

C#
[System.Runtime.Serialization.DataContract]
public readonly struct DocumentRenameOptions : IEquatable<Microsoft.CodeAnalysis.Rename.DocumentRenameOptions>
Inheritance
DocumentRenameOptions
Attributes
Implements

Constructors

DocumentRenameOptions(Boolean, Boolean)

Options for renaming a document.

Properties

RenameMatchingTypeInComments

If the document contains a type declaration with matching name rename identifiers in comments that match the name as well.

RenameMatchingTypeInStrings

If the document contains a type declaration with matching name rename identifiers in strings that match the name as well.

Methods

Operators

Applies to

Produkt Versionen
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 4.12.2, 4.13.0