This documentation is archived and is not being maintained.

ServiceDescriptionBaseCollection.GetKey Method

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

[Visual Basic]
Protected Overridable Function GetKey( _
   ByVal value As Object _
) As String
protected virtual string GetKey(
 object value
protected: virtual String* GetKey(
 Object* value
protected function GetKey(
   value : Object
) : String;


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

Return Value

A null reference.


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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ServiceDescriptionBaseCollection Class | ServiceDescriptionBaseCollection Members | System.Web.Services.Description Namespace