Share via


CollectionSet.Key.ToString Method

Gets a string representation of the key for the purpose of a default comparison.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As CollectionSet..::..Key
Dim returnValue As String

returnValue = instance.ToString()
public override string ToString()
public:
virtual String^ ToString() override
abstract ToString : unit -> string 
override ToString : unit -> string 
public override function ToString() : String

Return Value

Type: System.String
A String value that is the string representation of the key.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.