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 所識別屬性的值。

適用於