dotnetCHARTING Send comments on this topic.
PatternFromString Method
See Also 
dotnetCHARTING Namespace > CalendarPattern Class : PatternFromString Method


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.
Gets a boolean array from a string of ones (1) and zeros (0).

Syntax

Visual Basic (Declaration)  
Public Shared Function PatternFromString( _
   ByVal str As String _
) As Boolean()
Visual Basic (Usage) Copy Code
Dim str As String
Dim value() As Boolean
 
value = CalendarPattern.PatternFromString(str)
C#  
public static bool[] PatternFromString( 
   string str
)

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 Value

bool[]

See Also