SummaryLinkCollection.Deserialize Method

Deserializes the contents of an XmlReader object into a SummaryLinkCollection object.

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

Syntax

'Declaration
Public Sub Deserialize ( _
    reader As XmlReader, _
    deserializedSchemaVersion As Integer _
)
'Usage
Dim instance As SummaryLinkCollection
Dim reader As XmlReader
Dim deserializedSchemaVersion As Integer

instance.Deserialize(reader, deserializedSchemaVersion)
public void Deserialize(
    XmlReader reader,
    int deserializedSchemaVersion
)

Parameters

  • deserializedSchemaVersion
    Type: System.Int32

    Serialization schema version.

Remarks

The SummaryLinkFieldControl stores the SummaryLinkFieldValue as a string in a list field. The SummaryLinkFieldValue contains a SummaryLinkCollection which has a serialization format when stored in the list field. This method is used by the system to deserialize the SummaryLinkCollection as part of the SummaryLinkFieldValue deserialization process. The schema of a serialized string cannot be modified and any unexpected changes to the schema will cause the deserialization to fail, which could cause the SummaryLinkFieldValue to not be fully populated as intended.

See Also

Reference

SummaryLinkCollection Class

SummaryLinkCollection Members

Microsoft.SharePoint.Publishing Namespace