ContextNodeBase.LoadPropertiesData Method
Recreates the application-specific and internal property data for an array of bytes that was previously created with SavePropertiesData.
Namespace: System.Windows.Ink.AnalysisCore
Assembly: IACore (in iacore.dll)
Syntax
'Declaration
Public Function LoadPropertiesData ( _
propertiesData As Byte() _
) As Boolean
'Usage
Dim instance As ContextNodeBase
Dim propertiesData As Byte()
Dim returnValue As Boolean
returnValue = instance.LoadPropertiesData(propertiesData)
public bool LoadPropertiesData (
byte[] propertiesData
)
public:
bool LoadPropertiesData (
array<unsigned char>^ propertiesData
)
public boolean LoadPropertiesData (
byte[] propertiesData
)
public function LoadPropertiesData (
propertiesData : byte[]
) : boolean
Not applicable.
Parameters
- propertiesData
An array of bytes that is used to recreate application-specific and internal property data.
Return Value
true if the data is loaded successfully; otherwise, false.
Example
This example loads the properties data from a byte array, data
, into a ContextNodeBase object, selectedNode
. If it does not load successfully, a message is displayed.
if (!selectedNode.LoadPropertiesData(data))
MessageBox.Show("Cannot load property data");
Platforms
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
ContextNodeBase Class
ContextNodeBase Members
System.Windows.Ink.AnalysisCore Namespace
ContextNodeBase.AddPropertyData
ContextNodeBase.ContainsPropertyData
ContextNodeBase.GetPropertyData
ContextNodeBase.RemovePropertyData
ContextNodeBase.SavePropertiesData