Επεξεργασία

Κοινή χρήση μέσω


OperationInfo.ToString Method

Definition

Provides a string that represents this instance.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string that represents this instance.

Examples

The following example demonstrates how to use the ToString method.

OperationInfo info = new OperationInfo();
String infoString = info.ToString();
Dim info As New OperationInfo()
Dim infoString = info.ToString()

Remarks

This method returns the ContractName value if extant; otherwise, it returns the Name value.

Applies to