See Also

CalendarPattern Class  | CalendarPattern Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

JScript

Show All

str
A pattern in a string form. A string of "1100" will return [ true, true, false, false ]. The boolean array can be used to set the Pattern property of this CalendPattern.
See Also Requirements Languages dotnetCHARTING Send comments on this topic.

PatternFromString Method

Gets a boolean array from a string of ones (1) and zeros (0).

[Visual Basic]
Public Shared Function PatternFromString( _    ByVal str As String _ ) As Boolean()
[C#]
public static bool[] PatternFromString(    string str );
[JScript]
public static function PatternFromString(    str : String ) : boolean[];

Parameters

str
A pattern in a string form. A string of "1100" will return [ true, true, false, false ]. The boolean array can be used to set the Pattern property of this CalendPattern.

Return Type

bool[]

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CalendarPattern Class  | CalendarPattern Members

 

 


2002 - 2004 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.