次の方法で共有


RealProxy.GetProxiedType メソッド

定義

Type の現在のインスタンスが表すオブジェクトの RealProxy を返します。

public:
 Type ^ GetProxiedType();
public Type GetProxiedType ();
[System.Security.SecurityCritical]
public Type GetProxiedType ();
member this.GetProxiedType : unit -> Type
[<System.Security.SecurityCritical>]
member this.GetProxiedType : unit -> Type
Public Function GetProxiedType () As Type

戻り値

Type

Type の現在のインスタンスが表すオブジェクトの RealProxy

属性

// Create an instance of MyProxy.
MyProxy^ myProxyInstance = gcnew MyProxy( CustomServer::typeid );

// Get a CustomServer proxy.
CustomServer^ myHelloServer = static_cast<CustomServer^>(myProxyInstance->GetTransparentProxy());
// Create an instance of MyProxy.
MyProxy myProxyInstance = new MyProxy(typeof(CustomServer));
// Get a CustomServer proxy.
CustomServer myHelloServer = (CustomServer)myProxyInstance.GetTransparentProxy();
' Create an instance of MyProxy.
Dim myProxyInstance As New MyProxy(GetType(CustomServer))
' Get a CustomServer proxy.
Dim myHelloServer As CustomServer = _
            CType(myProxyInstance.GetTransparentProxy(), CustomServer)

適用対象