共用方式為


SPKeyValuePairSerializationInfo members

Include protected members
Include inherited members

儲存序列化和還原序列化物件所需的資料。

The SPKeyValuePairSerializationInfo type exposes the following members.

Properties

  Name Description
Public property Count

Top

Methods

  Name Description
Public method AddValue 將指定的值加入至SPKeyValuePairSerializationInfo存放區,是與指定名稱相關聯。關聯名稱的值可以讓在稍後還原序列化的值。
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetRawValue 傳回與指定的名稱成對的值。
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method TryGetValue<T>(String, T) 根據指定的型別和名稱的SPKeyValuePairSerializationInfo存放區中擷取值。
Public method TryGetValue<T>(String, T, T) 根據指定的型別和名稱的SPKeyValuePairSerializationInfo存放區中擷取值。如果存放區中找不到名稱,這個方法會傳回指定的預設值。

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable<KeyValuePair<String, Object>>.GetEnumerator 傳回列舉值,可以用來逐一查看集合中的索引鍵/值組。
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator 傳回列舉值,可以用來逐一查看集合中的索引鍵/值組。

Top

請參閱

參照

SPKeyValuePairSerializationInfo class

Microsoft.SharePoint.Utilities namespace