ISerializableObjectContract 接口

定义

定义一个协定,该协定提供有关可序列化对象的信息。

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

方法

名称 说明
AcquireLifetimeToken()

指定在客户端吊销协定之前,协定可供客户端访问。

(继承自 IContract)
Add(RemoteArgument, RemoteArgument)

将具有指定键和值的元素添加到 .IRemoteArgumentDictionaryContract

(继承自 IRemoteArgumentDictionaryContract)
Clear()

从 .. 中删除所有元素IRemoteArgumentDictionaryContract

(继承自 IRemoteArgumentDictionaryContract)
ContainsKey(RemoteArgument)

指示 IRemoteArgumentDictionaryContract 是否包含具有指定键的元素。

(继承自 IRemoteArgumentDictionaryContract)
GetCanonicalName()

返回此 ISerializableObjectContract 描述的对象类型的规范名称。

GetCount()

返回包含在 . 中的 IRemoteArgumentCollectionContract元素数。

(继承自 IRemoteArgumentCollectionContract)
GetEnumeratorContract()

返回可用于循环访问集合的枚举器。

(继承自 IRemoteArgumentEnumerableContract)
GetItem(RemoteArgument)

返回具有指定键的元素的值。

(继承自 IRemoteArgumentDictionaryContract)
GetKeys()

返回包含对象的键的IRemoteArgumentCollectionContract一个IRemoteArgumentDictionaryContract

(继承自 IRemoteArgumentDictionaryContract)
GetRemoteHashCode()

返回 的 IContract哈希代码。

(继承自 IContract)
GetSerializableObjectData()

返回可用于帮助反序列化描述 ISerializableObjectContract 的对象的数据。

GetValues()

返回一个 IRemoteArgumentCollectionContract 包含对象的值 IRemoteArgumentDictionaryContract

(继承自 IRemoteArgumentDictionaryContract)
QueryContract(String)

返回由此协定实现的协定。

(继承自 IContract)
RemoteEquals(IContract)

指示指定的协定是否等于此 IContract协定。

(继承自 IContract)
RemoteToString()

返回当前 IContract字符串表示形式。

(继承自 IContract)
Remove(RemoteArgument)

从 中移除具有指定键的 IRemoteArgumentDictionaryContract元素。

(继承自 IRemoteArgumentDictionaryContract)
RevokeLifetimeToken(Int32)

指定该协定不再可供客户端访问。

(继承自 IContract)
SetItem(RemoteArgument, RemoteArgument)

替换元素的值。

(继承自 IRemoteArgumentDictionaryContract)

适用于