Checks a bar for errors

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public static bool IsValidBar(
	BarData bar,
	out string error
)
Visual Basic
Public Shared Function IsValidBar ( 
	bar As BarData,
	<OutAttribute> ByRef error As String
) As Boolean
Visual C++
public:
static bool IsValidBar(
	BarData^ bar, 
	[OutAttribute] String^% error
)
F#
static member IsValidBar : 
        bar : BarData * 
        error : string byref -> bool 

Parameters

bar
Type: RightEdge.Common..::..BarData
Bar to check for errors
error
Type: System..::..String%
If the bar has errors, will contain a description of the error

Return Value

Type: Boolean
True if the bar is valid, false if it has errors

See Also