Share via


CollectionItem.Key Members

Include Protected Members
Include Inherited Members

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

The CollectionItem.Key type exposes the following members.

Constructors

  Name Description
Public method CollectionItem.Key(String) Creates an instance of a key given the key name.
Public method CollectionItem.Key(CollectionItem.Key) Creates an instance of a [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key] object.

Top

Methods

  Name Description
Public method Equals(SfcKey) Instantiates an instance of the [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key.Equals] class that is used for boolean operations. (Overrides SfcKeyEquals(SfcKey).)
Public method Equals(Object) Performs a boolean operation to determine if the object passed as a parameter is a key (Overrides SfcKeyEquals(Object).)
Public method Equals(Object, Object) Does a boolean comparison of two objects passed as parameters.
Protected method Finalize() (Inherited from Object.)
Public method GetHashCode() Gets the hash code for a key. (Overrides SfcKeyGetHashCode().)
Public method GetType() (Inherited from Object.)
Public method GetUrnFragment() Gets a urn fragment. (Overrides SfcKeyGetUrnFragment().)
Protected method MemberwiseClone() (Inherited from Object.)
Public method ToString() Gets a string representation of the key for the purpose of a default comparison. (Overrides SfcKeyToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality(Object, CollectionItem.Key) Does a boolean equality comparison between the object sent as a parameter and the right hand side of the key.
Public operatorStatic member 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.
Public operatorStatic member Equality(CollectionItem.Key, Object) Does a boolean equality comparision between the object sent as a parameter and the left hand side of the key.
Public operatorStatic member Inequality(Object, CollectionItem.Key) Does a boolean inequality comparision between the object sent as a parameter and the right hand side of the key.
Public operatorStatic member 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.
Public operatorStatic member Inequality(CollectionItem.Key, Object) Does a boolean inequality comparision between the object sent as a parameter and the left hand side of the key.

Top

Fields

  Name Description
Public field name Declares the name variable.

Top

Properties

  Name Description
Public property Name Gets or sets the key name.

Top