Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

WebPart.UnknownXmlElements property

Gets an UnknownXmlElementCollection object that contains XML elements from an imported SharePoint Web Part that were not mapped to a property on the Web Part.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.Shared)]
public UnknownXmlElementCollection UnknownXmlElements { get; }

Property value

Type: Microsoft.SharePoint.WebPartPages.UnknownXmlElementCollection
An UnknownXmlElementCollection object containing any unmapped properties from an imported SharePoint Web Part.

The UnknownXmlElements property is used in conjunction with the AfterDeserialize method to manage changes to saved properties when upgrading a Web Part assembly. To view a code example that demonstrates how to use this property, see AfterDeserialize.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.