Click or drag to resize

CodeExtensionsHasErrors Method

Are there any errors in the compilation.

Namespace:  StockSharp.Xaml.Code
Assembly:  StockSharp.Xaml (in StockSharp.Xaml.dll) Version: (5.0.0)
public static bool HasErrors(
	this CompilationResult result


Type: CompilationResult
The result of the compilation.

Return Value

Type: Boolean
- If there are errors, - If the compilation is performed without errors.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CompilationResult. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also