共用方式為


ActivatedClientTypeEntry.ToString 方法

定義

傳回用戶端啟動型別的型別名稱、組件名稱和應用程式 URL 為 String

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

傳回

做為 String 之用戶端啟動型別的型別名稱、組件名稱和應用程式 URL。

範例

下列程式代碼範例示範 如何使用 ToString 方法。

// Print the string representation of the type entry.
Console::WriteLine( "Type and assembly name and application URL of the remote object: {0}", activatedClientTypeEntry->ToString() );
// Print the string representation of the type entry.
Console.WriteLine(
    "Type name, assembly name and application URL " +
    "of the remote object: " +
    myActivatedClientTypeEntry.ToString());
' Print the string representation of the type entry.
Console.WriteLine( _
    "Type name, assembly name and application URL " + _
    "of the remote object: " + _
    myActivatedClientTypeEntry.ToString())

適用於