Struct AccessorInfo
Represents a property on an object
Implements
Inherited Members
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
public struct AccessorInfo : IComparable
Properties
Empty
If Property is not existing on object
Declaration
public static AccessorInfo Empty { get; }
Property Value
Type | Description |
---|---|
AccessorInfo | The empty. |
Methods
CompareTo(Object)
Compares the current instance with another object of the same type.
Declaration
public int CompareTo(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | An object to compare with this instance. |
Returns
Type | Description |
---|---|
System.Int32 | A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance is less than obj. Zero This instance is equal to obj. Greater than zero This instance is greater than obj. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | obj is not the same type as this instance. |
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Another object to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | true if obj and this instance are the same type and represent the same value; otherwise, false. |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A 32-bit signed integer that is the hash code for this instance. |
Overrides
Operators
Equality(AccessorInfo, AccessorInfo)
Operator ==s the specified x.
Declaration
public static bool operator ==(AccessorInfo x, AccessorInfo y)
Parameters
Type | Name | Description |
---|---|---|
AccessorInfo | x | The x. |
AccessorInfo | y | The y. |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(AccessorInfo, AccessorInfo)
Operator !=s the specified x.
Declaration
public static bool operator !=(AccessorInfo x, AccessorInfo y)
Parameters
Type | Name | Description |
---|---|---|
AccessorInfo | x | The x. |
AccessorInfo | y | The y. |
Returns
Type | Description |
---|---|
System.Boolean |