Share via


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 function LoadPropertiesData(
    propertiesData : byte[]
) : boolean

Parameters

  • propertiesData
    Type: array<System.Byte[]

    An array of bytes that is used to recreate application-specific and internal property data.

Return Value

Type: System.Boolean
true if the data is loaded successfully; otherwise, false.

Examples

This example loads the properties data from a byte array, data, into a ContextNodeBase object named selectedNode. If it does not load successfully, a message is displayed.

if (!selectedNode.LoadPropertiesData(data))
    MessageBox.Show("Cannot load property data");

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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