Export (0) Print
Expand All

IRemoteFieldInfoContract Interface

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

Namespace:  System.AddIn.Contract.Automation
Assembly:  System.AddIn.Contract (in System.AddIn.Contract.dll)

public interface class IRemoteFieldInfoContract : IContract

The IRemoteFieldInfoContract type exposes the following members.

Public methodAcquireLifetimeTokenSpecifies that the contract is accessible to a client until the client revokes the contract. (Inherited from IContract.)
Public methodGetFieldDataReturns information about the field that this IRemoteFieldInfoContract identifies.
Public methodGetRemoteHashCodeReturns a hash code for the IContract. (Inherited from IContract.)
Public methodGetValueReturns the value of the field that this IRemoteFieldInfoContract identifies.
Public methodQueryContractReturns a contract that is implemented by this contract. (Inherited from IContract.)
Public methodRemoteEqualsIndicates whether the specified contract is equal to this IContract. (Inherited from IContract.)
Public methodRemoteToStringReturns a string representation of the current IContract. (Inherited from IContract.)
Public methodRevokeLifetimeTokenSpecifies that the contract is no longer accessible to a client. (Inherited from IContract.)
Public methodSetValueSets the value of the field that this IRemoteFieldInfoContract represents.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft