 | 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.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static string NormalizedGUID(
this string stringGuid
)
<ExtensionAttribute>
Public Shared Function NormalizedGUID (
stringGuid As String
) As String
public:
[ExtensionAttribute]
static String^ NormalizedGUID(
String^ stringGuid
)
Parameters
- stringGuid String
- The stringGuid.
Return Value
StringThe 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