PocketPlanner Programmer's Guide

XmlSerializationContext.ReadUShort Method

See Also

Reads an unsigned short value with the specified name.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public ushort ReadUShort (
    string elementName,
    XmlElement parentElement
)

Visual Basic

Public Function ReadUShort ( _
    elementName As String, _
    parentElement As XmlElement _
) As UShort

 Parameters

elementName
The name of the element containing the unsigned short value.
parentElement
The parent element of the node with the specified name.

 Return Value

An unsigned short value. Returns 0 if there is no element with the specified name under the specified parent.

 See Also