.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > CalendarPattern Class : PatternFromString Method
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.
PatternFromString Method
Gets a boolean array from a string of ones (1) and zeros (0).
Syntax
'Declaration
 
Public Shared Function PatternFromString( _
   ByVal str As String _
) As Boolean()
'Usage
 
Dim str As String
Dim value() As Boolean
 
value = CalendarPattern.PatternFromString(str)
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[]
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also