Share via


TextHelpers.IsGuid Method (String)

 

Returns true if the specified string contains a GUID.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static bool IsGuid(
    string candidate
)
public:
static bool IsGuid(
    String^ candidate
)
Public Shared Function IsGuid (
    candidate As String
) As Boolean

Parameters

Return Value

Type: System.Boolean

True if string is a GUID; otherwise false.

See Also

TextHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top