IRemoteArgumentCollectionContract 接口

定义

表示 RemoteArgument 对象集合。Represents a collection of RemoteArgument objects.

public interface class IRemoteArgumentCollectionContract : System::AddIn::Contract::Collections::IRemoteArgumentEnumerableContract
public interface IRemoteArgumentCollectionContract : System.AddIn.Contract.Collections.IRemoteArgumentEnumerableContract
type IRemoteArgumentCollectionContract = interface
    interface IRemoteArgumentEnumerableContract
    interface IContract
Public Interface IRemoteArgumentCollectionContract
Implements IRemoteArgumentEnumerableContract
派生
实现

方法

AcquireLifetimeToken()

指定客户端在撤消此协定之前一直可以访问它。Specifies that the contract is accessible to a client until the client revokes the contract.

(继承自 IContract)
GetCount()

返回 IRemoteArgumentCollectionContract 中包含的元素的数目。Returns the number of elements contained in the IRemoteArgumentCollectionContract.

GetEnumeratorContract()

返回一个可用于循环访问集合的枚举数。Returns an enumerator that can be used to iterate through the collection.

(继承自 IRemoteArgumentEnumerableContract)
GetRemoteHashCode()

返回 IContract 的哈希代码。Returns a hash code for the IContract.

(继承自 IContract)
QueryContract(String)

返回由此协定实现的协定。Returns a contract that is implemented by this contract.

(继承自 IContract)
RemoteEquals(IContract)

指示指定的协定是否与此 IContract 相等。Indicates whether the specified contract is equal to this IContract.

(继承自 IContract)
RemoteToString()

返回当前 IContract 的字符串表示形式。Returns a string representation of the current IContract.

(继承自 IContract)
RevokeLifetimeToken(Int32)

指定客户端不再能够访问该协定。Specifies that the contract is no longer accessible to a client.

(继承自 IContract)

适用于