Partilhar via


CollectionItem.Key Class

Definition

A key class for identification

public class CollectionItem.Key : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
type CollectionItem.Key = class
    inherit SfcKey
Public Class CollectionItem.Key
Inherits SfcKey
Inheritance
CollectionItem.Key

Constructors

CollectionItem.Key(CollectionItem+Key)
CollectionItem.Key(String)

Fields

name

Properties

InstanceType

The Type of the instance class associated with this key class. Default impl is the way a nested key class would do it for compatiblity with existing models using that technique. This should be overriden in any key class which is not a nested class of the instance type.

(Inherited from SfcKey)
Name

Name is the main key property for a collection item

Methods

Equals(Object, Object)
Equals(Object)
Equals(SfcKey)
GetHashCode()
GetUrnFragment()
ToString()

Returns the appropriate string representation of the key for the purpose of default comparison

Operators

Equality(CollectionItem+Key, CollectionItem+Key)
Equality(CollectionItem+Key, Object)

Both sides are equal if they both null, or Both are not null AND lhs is a Key AND the keys are equal

Equality(Object, CollectionItem+Key)

Both sides are equal if they both null, or Both are not null AND rhs is a Key AND the keys are equal

Inequality(CollectionItem+Key, CollectionItem+Key)
Inequality(CollectionItem+Key, Object)
Inequality(Object, CollectionItem+Key)

Applies to