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

Represents a tuple between a search location and the string representation of its name.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Type Parameters:

T

The type of the T.

Syntax:

C#
public class SearchLocationName<T> : NotifyPropertyChangedBase

Inheritance: objectSearchLocationName<T>

Constructors

Initializes a new instance of the SearchLocationName<T> class.

C#
public SearchLocationName(T searchLocation, string name)
Parameters:searchLocationT

The search location.

namestring

The name of the instance.

Properties

Gets or sets the name representing the search location.

C#
public string Name { get; set; }
Property Value:

The name representing the search location.

Gets or sets the search location.

C#
public T SearchLocation { get; set; }
Property Value:

The search location.

Methods

Determines whether the specified object is equal to the current object.

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

The object to compare with the current object.

Returns:

bool

true if the specified object is equal to the current object; otherwise, false.

Serves as a hash function for a particular type.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.