Version

LoadCustomizations(Stream,Boolean,String,CustomizationType) Method

Loads user Customizations that were saved with the SaveCustomizations(Stream,Boolean) method.
Syntax
'Declaration
 
Public Overloads Sub LoadCustomizations( _
   ByVal stream As Stream, _
   ByVal useStrictFieldMatching As Boolean, _
   ByRef error As String, _
   Optional ByVal customizationsToExclude As CustomizationType _
) 
public void LoadCustomizations( 
   Stream stream,
   bool useStrictFieldMatching,
   out string error,
   CustomizationType customizationsToExclude
)

Parameters

stream
The stream containing the saved Customizations.
useStrictFieldMatching
If true requires that all fields that were saved are still present even if the FieldLayout's Key has been explicitly set.
error
If an error occurs, this will be set to the error message.
customizationsToExclude
Flagged enum containing customizations to exclude from loading. Default value is None
Remarks

This overload of LoadCustomizations will not raise an exception if the specified customizations string is not in a valid xml format. Instead it will set the error out parameter to an error message.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also