Compartir a través de


CollectionItem.Key Miembros

The CollectionItem..::..Key class inherits from SfcAbstractKey and is used for identification key operations.

El tipo CollectionItem. . :: . .Key expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico CollectionItem. . :: . .Key(String) Creates an instance of a key given the key name.
Método publico CollectionItem. . :: . .Key(CollectionItem. . :: . .Key) Creates an instance of a [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key] object.

Principio

Métodos

  Nombre Descripción
Método publico Equals(SfcKey) Instantiates an instance of the [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key.Equals] class that is used for boolean operations. (Invalida SfcKeyEquals(SfcKey).)
Método publico Equals(Object) Performs a boolean operation to determine if the object passed as a parameter is a key (Invalida SfcKeyEquals(Object).)
Método publico Equals(Object, Object) Does a boolean comparison of two objects passed as parameters.
Método protegido Finalize (Se hereda de Object).
Método publico GetHashCode Gets the hash code for a key. (Invalida SfcKeyGetHashCode()()()().)
Método publico GetType (Se hereda de Object).
Método publico GetUrnFragment Gets a urn fragment. (Invalida SfcKeyGetUrnFragment()()()().)
Método protegido MemberwiseClone (Se hereda de Object).
Método publico ToString Gets a string representation of the key for the purpose of a default comparison. (Invalida SfcKeyToString()()()().)

Principio

Operadores

  Nombre Descripción
Operador públicoMiembro estático Equality(Object, CollectionItem. . :: . .Key) Does a boolean equality comparison between the object sent as a parameter and the right hand side of the key.
Operador públicoMiembro estático Equality(CollectionItem. . :: . .Key, CollectionItem. . :: . .Key) Does a boolean equality comparision between the left hand side of the key and the right hand side of the key.
Operador públicoMiembro estático Equality(CollectionItem. . :: . .Key, Object) Does a boolean equality comparision between the object sent as a parameter and the left hand side of the key.
Operador públicoMiembro estático Inequality(Object, CollectionItem. . :: . .Key) Does a boolean inequality comparision between the object sent as a parameter and the right hand side of the key.
Operador públicoMiembro estático Inequality(CollectionItem. . :: . .Key, CollectionItem. . :: . .Key) Does a boolean inequality comparision between the left hand side of the key and the right hand side of the key.
Operador públicoMiembro estático Inequality(CollectionItem. . :: . .Key, Object) Does a boolean inequality comparision between the object sent as a parameter and the left hand side of the key.

Principio

Campos

  Nombre Descripción
Campo público name Declares the name variable.

Principio

Propiedades

  Nombre Descripción
Propiedad pública Name Gets or sets the key name.

Principio