Share via


TextChangeProposal Class

The ChangeProposal class represents the changes returned from the contributors. These changes represent the file, offset, lengths, new value, and old value of a proposed change. For more information, see Create Custom Database Refactoring Types or Targets.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Schema.Package.Refactoring.ChangeProposal
    Microsoft.VisualStudio.Data.Schema.Package.Refactoring.TextChangeProposal

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Refactoring
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Public NotInheritable Class TextChangeProposal _
    Inherits ChangeProposal
public sealed class TextChangeProposal : ChangeProposal
public ref class TextChangeProposal sealed : public ChangeProposal
[<Sealed>]
type TextChangeProposal =  
    class
        inherit ChangeProposal
    end
public final class TextChangeProposal extends ChangeProposal

The TextChangeProposal type exposes the following members.

Constructors

  Name Description
Public method TextChangeProposal Initializes a new instance of the TextChangeProposal class.

Top

Properties

  Name Description
Public property EndColumn Gets or sets the end column of this change.
Public property EndLine Gets or sets the end line of this change.
Public property FileName Gets or sets the file name, with full path. (Inherited from ChangeProposal.)
Public property Included Gets or sets a value that indicates whether this ChangeProposal will be included in the changes to be applied. (Inherited from ChangeProposal.)
Public property NewValue Gets or sets the proposed new value.
Public property ProjectName Specifies from which project the change proposal came. (Inherited from ChangeProposal.)
Public property StartColumn Gets or sets the first column of this change.
Public property StartLine Gets or sets the first line of this change.

Top

Methods

  Name Description
Public method Equals Returns true if this TextChangeProposal object has the same value as another object, which also must be a TextChangeProposal. (Overrides ChangeProposal.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this object. (Overrides ChangeProposal.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Data.Schema.Package.Refactoring Namespace