Classe NamedKey<T>
Represents the single string name key for an instance class.
Gerarchia di ereditarietà
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<T>
Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintassi
'Dichiarazione
Public Class NamedKey(Of T As SfcInstance) _
Inherits SfcKey _
Implements IEquatable(Of NamedKey(Of T))
'Utilizzo
Dim instance As NamedKey(Of T)
public class NamedKey<T> : SfcKey, IEquatable<NamedKey<T>>
where T : SfcInstance
generic<typename T>
where T : SfcInstance
public ref class NamedKey : public SfcKey,
IEquatable<NamedKey<T>^>
type NamedKey<'T when 'T : SfcInstance> =
class
inherit SfcKey
interface IEquatable<NamedKey<'T>>
end
JScript non supporta i metodi e i tipi generici.
Parametri di tipo
- T
The type of the name key for an instance.
Nel tipo NamedKey<T> sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
NamedKey<T>() | Initializes a new instance of the NamedKey<T> class. | |
NamedKey<T>(IDictionary<String, Object>) | Initializes a new instance of the NamedKey<T> class from a field dictionary. | |
NamedKey<T>(String) | Initializes a new instance of the NamedKey<T> class from a string. | |
NamedKey<T>(NamedKey<T>) | Initializes a new instance of the NamedKey<T> class from another name key. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
InstanceType | Gets the instance type which the key represents. Esegue l'override di SfcKey.InstanceType. | |
Name | Gets the name key value. | |
UrnName | Gets the Urn level name corresponding to the instance type which the key represents. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
Equals(Object) | Compares a name key to the specified key for value of equality. Esegue l'override di SfcKey.Equals(Object). | |
Equals(NamedKey<T>) | Compares a name key to the specified key for value of equality. | |
Equals(SfcKey) | Compares a name key to the key for value of equality. Esegue l'override di SfcKey.Equals(SfcKey). | |
Equals(Object, Object) | Compares the two keys for value of equality. | |
Finalize | Ereditato da Object. | |
GetHashCode | Returns a hash code for the key. Esegue l'override di SfcKey.GetHashCode(). | |
GetType | Ereditato da Object. | |
GetUrnFragment | Returns the Urn level fragment which obtains its name from the key name property by default. Esegue l'override di SfcKey.GetUrnFragment(). | |
MemberwiseClone | Ereditato da Object. | |
ToString | Returns the string value for the key. Esegue l'override di SfcKey.ToString(). |
In alto
Operatori
Nome | Descrizione | |
---|---|---|
Equality | Indicates whether the two keys are equal. | |
Inequality | Indicates whether the two keys are not equal. |
In alto
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.