Visual Basic (Declaration) | |
---|---|
Public Overloads Function Serialize( _ ByVal w As XmlTextWriter, _ ByVal saveDataSource As Boolean _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DefaultSheetDataModel Dim w As XmlTextWriter Dim saveDataSource As Boolean Dim value As Boolean value = instance.Serialize(w, saveDataSource) |
C# | |
---|---|
public bool Serialize( XmlTextWriter w, bool saveDataSource ) |
Parameters
- w
- XmlTextWriter object to which to save the object
- saveDataSource
- Whether to save the data source and bound data
Return Value
true if successful; false otherwiseTarget Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family