Class PropertyChange
Contains information about name chages for a specific property on a content type.
Inheritance
System.Object
PropertyChange
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction.Migration
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public class PropertyChange
Constructors
PropertyChange(String)
Initializes a new instance of the PropertyChange class.
Declaration
public PropertyChange(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | Name of the property. |
Properties
Name
Gets the name of the property.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
OldName
Gets the old name of the property.
Declaration
public string OldName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
UsedToBeNamed(String)
Specifies what the property used to be named.
Declaration
public void UsedToBeNamed(string oldName)
Parameters
Type | Name | Description |
---|---|---|
System.String | oldName | The old name. |