DeployLX Software Protection System

Limit..::..ReadChildLimit Method

Reads a child Limit from the XML reader.

Syntax

Protected Function ReadChildLimit ( _
	reader As XmlReader _
) As Boolean
protected bool ReadChildLimit(
	XmlReader reader
)

Parameters

reader
The reader.

Return Value

Returns true if the Limit was read successfully, otherwise false.

Examples

This sample demonstrates how to load a limit's properties from the XML reader.
Visual Basic
Protected Overrides Function ReadFromXml(ByVal reader As System.Xml.XmlReader) As Boolean
    _variableName = reader.GetAttribute("variableName")
    _variableValue = reader.GetAttribute("variableValue")

    Return ReadChildLimits(reader)
End Function
C#
protected override bool ReadFromXml( System.Xml.XmlReader reader )
{
    _variableName = reader.GetAttribute( "variableName" );
    _variableValue = reader.GetAttribute( "variableValue" );

    return ReadChildLimits( reader );
}

Assembly:  DeployLX.Licensing.v5 (in DeployLX.Licensing.v5.dll)

See Also