共用方式為


ISerializableUsageEntry interface

允許控制其本身序列化和還原序列化的物件。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Interface ISerializableUsageEntry
'用途
Dim instance As ISerializableUsageEntry
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public interface ISerializableUsageEntry

備註

任何實作此介面的類別應該實作接受類型SPKeyValuePairSerializationInfo參數建構函式。在目前的建構函式會呼叫只有在SPKeyValuePairSerializationInfo中的資料之後,還原序列化期間物件已經還原序列化的格式。一般類別不密封如果應該保護此建構函式。

請參閱

參照

ISerializableUsageEntry members

Microsoft.SharePoint.Administration namespace