SftTabs/NET 6.0

SetContents Method, SftTabs Class

Softel vdm, Inc.

Updates the control with data from an XML document.

Syntax      SftTabs Class (Softelvdm.SftTabsNET)

VB   

Public Shared Sub SetContents( _
     ByVal SftTabsControl As SftTabs, _
     ByVal doc As XmlDocument, _
     ByVal contents As PersistContentsEnum )

C#   

public static void SetContents(
     SftTabs SftTabsControl,
     XmlDocument doc,
     PersistContentsEnum contents );

C++   

public: static void SetContents(
     SftTabs^ SftTabsControl,
     XmlDocument^ doc,
     PersistContentsEnum contents );

contents

Defines processing options.

PersistContentsEnum

Value

Description

None

0

No data is transferred.

TabsOnly

1

Tab contents are saved/loaded.

Props

256

All control property definitions are saved/loaded.

All

65535

All definitions are saved/loaded.

doc

The XML document.

SftTabsControl

Defines the SftTabs/NET control to be updated.

Comments

The SetContents method updates the control with data from an XML document.

Saving/loading the tab control contents using GetContents/SetContents saves/loads all data of the specified category (contents parameter).


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com