Επεξεργασία

Κοινή χρήση μέσω


IRemotePropertyInfoContract Interface

Definition

Defines a contract that components can use to access information about a property across application domain and process boundaries.

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
Implements

Remarks

An IRemotePropertyInfoContract represents a property of a remote object that implements the IRemoteObjectContract interface.

To access one or more properties of a remote object, use the GetRemoteType method to get an IRemoteTypeContract that represents the type of the remote object. Then, call the GetProperty or GetProperties method.

Methods

AcquireLifetimeToken()

Specifies that the contract is accessible to a client until the client revokes the contract.

(Inherited from IContract)
GetGetMethod()

Returns the get accessor of the property that this IRemotePropertyInfoContract identifies.

GetPropertyData()

Returns information about the property that this IRemotePropertyInfoContract identifies.

GetRemoteHashCode()

Returns a hash code for the IContract.

(Inherited from IContract)
GetSetMethod()

Returns the set accessor of the property that this IRemotePropertyInfoContract identifies.

GetValue(IRemoteObjectContract, BindingFlags, IRemoteArgumentArrayContract, Int32)

Returns the value of the property that this IRemotePropertyInfoContract identifies.

QueryContract(String)

Returns a contract that is implemented by this contract.

(Inherited from IContract)
RemoteEquals(IContract)

Indicates whether the specified contract is equal to this IContract.

(Inherited from IContract)
RemoteToString()

Returns a string representation of the current IContract.

(Inherited from IContract)
RevokeLifetimeToken(Int32)

Specifies that the contract is no longer accessible to a client.

(Inherited from IContract)
SetValue(IRemoteObjectContract, RemoteArgument, BindingFlags, IRemoteArgumentArrayContract, Int32)

Sets the value of the property that this IRemotePropertyInfoContract identifies.

Applies to