 | CTInterfaceSetXMLData Method |
When
OnSaveToStoragePre is invoked (during document save-operation),
this function can be used to manipulate CustomScope data in XML.
Data that CUSTOMTOOLS was about to store can be accessed with GetXMLData using the same key.
Namespace: ATR.CT.CTInterfaceAssembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntaxpublic bool SetXMLData(
string oKey,
string oXmlData
)
Public Function SetXMLData (
oKey As String,
oXmlData As String
) As Boolean
Parameters
- oKey String
-
CTEngineLib.ctPropertyScope.ctPropertyScopeCustom1, ...2, ...3 or ...4's integer value as string.
Eg.
var oKey = "" + (int)CTEngineLib.ctPropertyScope.ctPropertyScopeCustom1;
- oXmlData String
-
Data to store.
The XMl must be of valid format for CUSTOMTOOLS to handle. The XML format is not guaranteed to stay same in the future.
Return Value
BooleanAlways true
Revision HistoryDate | Version | Description |
---|
- | 2015 SP2 | First Release |
See Also