共用方式為


ActivatedClientTypeEntry.ObjectType 屬性

定義

取得用戶端啟動型別的 Type

public:
 property Type ^ ObjectType { Type ^ get(); };
public Type ObjectType { get; }
member this.ObjectType : Type
Public ReadOnly Property ObjectType As Type

屬性值

取得用戶端啟動型別的 Type

範例

下列程式碼範例示範如何使用 ObjectType 屬性。

// Print the object type.
Console::WriteLine( "Object type of client activated object: {0}", activatedClientTypeEntry->ObjectType->ToString() );
// Print the object type.
Console.WriteLine(
    "Object type of client activated object: " +
    myActivatedClientTypeEntry.ObjectType.ToString());
' Print the object type.
Console.WriteLine("Object type of client activated object: " + _
    myActivatedClientTypeEntry.ObjectType.ToString())

適用於