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 | |
---|---|---|
TextChangeProposal | Initializes a new instance of the TextChangeProposal class. |
Top
Properties
Name | Description | |
---|---|---|
EndColumn | Gets or sets the end column of this change. | |
EndLine | Gets or sets the end line of this change. | |
FileName | Gets or sets the file name, with full path. (Inherited from ChangeProposal.) | |
Included | Gets or sets a value that indicates whether this ChangeProposal will be included in the changes to be applied. (Inherited from ChangeProposal.) | |
NewValue | Gets or sets the proposed new value. | |
ProjectName | Specifies from which project the change proposal came. (Inherited from ChangeProposal.) | |
StartColumn | Gets or sets the first column of this change. | |
StartLine | Gets or sets the first line of this change. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Returns true if this TextChangeProposal object has the same value as another object, which also must be a TextChangeProposal. (Overrides ChangeProposal.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for this object. (Overrides ChangeProposal.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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