Share via


IRemotePropertyInfoContract 接口

定义

定义一个协定,组件可使用该协定跨应用程序域和进程边界访问有关属性的信息。

public interface class IRemotePropertyInfoContract : System::AddIn::Contract::IContract
public interface IRemotePropertyInfoContract : System.AddIn.Contract.IContract
type IRemotePropertyInfoContract = interface
    interface IContract
Public Interface IRemotePropertyInfoContract
Implements IContract
实现

注解

表示 IRemotePropertyInfoContract 实现 IRemoteObjectContract 接口的远程对象的属性。

若要访问远程对象的一个或多个属性,请使用 GetRemoteType 方法获取 IRemoteTypeContract 表示远程对象类型的 。 然后,调用 GetPropertyGetProperties 方法。

方法

AcquireLifetimeToken()

指定客户端在撤消此协定之前一直可以访问它。

(继承自 IContract)
GetGetMethod()

返回此 IRemotePropertyInfoContract 标识的属性的 get 访问器。

GetPropertyData()

返回有关此 IRemotePropertyInfoContract 标识的属性的信息。

GetRemoteHashCode()

返回 IContract 的哈希代码。

(继承自 IContract)
GetSetMethod()

返回此 IRemotePropertyInfoContract 标识的属性的 set 访问器。

GetValue(IRemoteObjectContract, BindingFlags, IRemoteArgumentArrayContract, Int32)

返回此 IRemotePropertyInfoContract 标识的属性的值。

QueryContract(String)

返回由此协定实现的协定。

(继承自 IContract)
RemoteEquals(IContract)

指示指定的协定是否与此 IContract 相等。

(继承自 IContract)
RemoteToString()

返回当前 IContract 的字符串表示形式。

(继承自 IContract)
RevokeLifetimeToken(Int32)

指定客户端不再能够访问该协定。

(继承自 IContract)
SetValue(IRemoteObjectContract, RemoteArgument, BindingFlags, IRemoteArgumentArrayContract, Int32)

设置此 IRemotePropertyInfoContract 标识的属性的值。

适用于