Editar

Compartir a través de


ServiceDescriptionBaseCollection.GetKey(Object) Method

Definition

Returns the name of the key associated with the value passed by reference.

protected:
 virtual System::String ^ GetKey(System::Object ^ value);
protected virtual string GetKey (object value);
abstract member GetKey : obj -> string
override this.GetKey : obj -> string
Protected Overridable Function GetKey (value As Object) As String

Parameters

value
Object

An object for which to return the name of the key.

Returns

A null reference.

Remarks

The default implementation of this method is intended to be overridden by a derived class in order to return the name of the key associated with the value parameter. The default implementation returns null (Nothing in Visual Basic). This protected method is accessible only through this class or a derived class.

Applies to