Cuemon .NET Framework
IsGuid(String,GuidFormats) Method

The string to verify has a valid format of a System.Guid.
A bitmask comprised of one or more GuidFormats that specify how the GUID parsing is conducted.
Determines whether the specified value has a valid format of a System.Guid.
Syntax
'Declaration
 
Public Overloads Shared Function IsGuid( _
   ByVal value As String, _
   ByVal format As GuidFormats _
) As Boolean
public static bool IsGuid( 
   string value,
   GuidFormats format
)

Parameters

value
The string to verify has a valid format of a System.Guid.
format
A bitmask comprised of one or more GuidFormats that specify how the GUID parsing is conducted.

Return Value

true if the specified value has a format of a System.Guid; otherwise, false.
Requirements

Target Platforms: Windows 8, Windows Server 2012, 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

Reference

Condition Class
Condition Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback