CodeCarvings.Piczard
ValidatePiczardVersion(Boolean) Method
See Also  Send Feedback
CodeCarvings.Piczard.Plugins Namespace > PluginInitializationArgs Class > ValidatePiczardVersion Method : ValidatePiczardVersion(Boolean) Method

throwException
if true, then a IncompatibilePiczardVersionException is raised if the two major numbers are not the same.
Checks that PluginVersion and Piczard PiczardVersion have the same major number and - optionally - throw an exception.

Syntax

Visual Basic (Declaration)  
Public Overloads Function ValidatePiczardVersion( _
   ByVal throwException As Boolean _
) As Boolean
C#  
public bool ValidatePiczardVersion( 
   bool throwException
)

Parameters

throwException
if true, then a IncompatibilePiczardVersionException is raised if the two major numbers are not the same.

Return Value

true if the major numbers are the same; otherwise false.

Exceptions

Exception Description
IncompatibilePiczardVersionException PluginVersion and Piczard ProductVersion have not the same major number.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.