Click or drag to resize

StringExtensionsNormalizedGUID Method

String extension method to normalize a GUID. If the string cannot be identified as a GUID the original string is returned

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static string NormalizedGUID(
	this string stringGuid
)

Parameters

stringGuid  String
The stringGuid.

Return Value

String
The normalized GUID if the provided string is a GUID; otherwise the original string is returned.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. 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