Επεξεργασία

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


IRemoteFieldInfoContract Interface

Definition

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

public interface class IRemoteFieldInfoContract : System::AddIn::Contract::IContract
public interface IRemoteFieldInfoContract : System.AddIn.Contract.IContract
type IRemoteFieldInfoContract = interface
    interface IContract
Public Interface IRemoteFieldInfoContract
Implements IContract
Implements

Remarks

An IRemoteFieldInfoContract represents a field of a remote object that implements the IRemoteObjectContract interface.

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

Methods

AcquireLifetimeToken()

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

(Inherited from IContract)
GetFieldData()

Returns information about the field that this IRemoteFieldInfoContract identifies.

GetRemoteHashCode()

Returns a hash code for the IContract.

(Inherited from IContract)
GetValue(IRemoteObjectContract)

Returns the value of the field that this IRemoteFieldInfoContract 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, Int32)

Sets the value of the field that this IRemoteFieldInfoContract represents.

Applies to