Share via


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())

适用于