Freigeben über


ContextNode.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
Assembly: IAWinFX (in iawinfx.dll)

Syntax

'Declaration
Public Function LoadPropertiesData ( _
    propertiesData As Byte() _
) As Boolean
'Usage
Dim instance As ContextNode
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 ContextNode object, inkWord. A message displays if the properties do not load successfully.

If Not inkWord.LoadPropertiesData(data) Then
    MessageBox.Show("Cannot load property data")
End If
if (!inkWord.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

ContextNode Class
ContextNode Members
System.Windows.Ink Namespace
ContextNode.AddPropertyData
ContextNode.ContainsPropertyData
ContextNode.GetPropertyData
ContextNode.RemovePropertyData
ContextNode.SavePropertiesData