New to Telerik UI for WinFormsStart a free 30-day trial

Used for Name values of IGroups that are grouping by DateTime. The SecondGroup contains the items with DateTime values with the same Second.

Definition

Namespace:Telerik.Pivot.Core.Groups

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
public struct SecondGroup : IComparable, IComparable<SecondGroup>, IEquatable<SecondGroup>

Implements: IComparableIComparable<SecondGroup>IEquatable<SecondGroup>

Constructors

Initializes a new instance of the SecondGroup struct.

C#
public SecondGroup(int second, CultureInfo culture)
Parameters:secondint

The second which this SecondGroup will represents.

cultureCultureInfo

The culture.

Initializes a new instance of the SecondGroup struct.

C#
public SecondGroup(int second)
Parameters:secondint

The second which this SecondGroup will represents.

Properties

Gets the Second this SecondGroup represents.

C#
public int Second { readonly get; set; }

Methods

C#
public int CompareTo(object obj)
Parameters:objobjectReturns:

int

Implements: IComparable.CompareTo(object)

C#
public int CompareTo(SecondGroup other)
Parameters:otherSecondGroupReturns:

int

Implements: IComparable<SecondGroup>.CompareTo(SecondGroup)

C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Overrides: ValueType.Equals(object)

C#
public bool Equals(SecondGroup other)
Parameters:otherSecondGroupReturns:

bool

Implements: IEquatable<SecondGroup>.Equals(SecondGroup)

C#
public override int GetHashCode()
Returns:

int

Overrides: ValueType.GetHashCode()

C#
public override string ToString()
Returns:

string

Overrides: ValueType.ToString()

Operators

Determines whether two specified instances of SecondGroup are not equal.

C#
public static bool operator !=(SecondGroup left, SecondGroup right)
Parameters:leftSecondGroup

The first object to compare.

rightSecondGroup

The second object to compare.

Returns:

bool

true if left and right do not represent the same second group; otherwise, false.

Determines whether one specified SecondGroup is less than another specified SecondGroup.

C#
public static bool operator <(SecondGroup left, SecondGroup right)
Parameters:leftSecondGroup

The first object to compare.

rightSecondGroup

The second object to compare.

Returns:

bool

true if left is less than right; otherwise, false.

Determines whether one specified SecondGroup is less than or equal to another specified SecondGroup.

C#
public static bool operator <=(SecondGroup left, SecondGroup right)
Parameters:leftSecondGroup

The first object to compare.

rightSecondGroup

The second object to compare.

Returns:

bool

true if left is less than or equal to right; otherwise, false.

Determines whether two specified instances of SecondGroup are equal.

C#
public static bool operator ==(SecondGroup left, SecondGroup right)
Parameters:leftSecondGroup

The first object to compare.

rightSecondGroup

The second object to compare.

Returns:

bool

true if left and right represent the same Second group; otherwise, false.

Determines whether one specified SecondGroup is greater than another specified SecondGroup.

C#
public static bool operator >(SecondGroup left, SecondGroup right)
Parameters:leftSecondGroup

The first object to compare.

rightSecondGroup

The second object to compare.

Returns:

bool

true if left is greater than right; otherwise, false.

Determines whether one specified SecondGroup is greater than or equal to another specified SecondGroup.

C#
public static bool operator >=(SecondGroup left, SecondGroup right)
Parameters:leftSecondGroup

The first object to compare.

rightSecondGroup

The second object to compare.

Returns:

bool

true if left is greater than or equal to right; otherwise, false.