ResourceIdentifier.TryParse(String, ResourceIdentifier) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the string representation of a ResourceIdentifier to the equivalent ResourceIdentifier structure.
public static bool TryParse (string? input, out Azure.Core.ResourceIdentifier? result);
static member TryParse : string * ResourceIdentifier -> bool
Public Shared Function TryParse (input As String, ByRef result As ResourceIdentifier) As Boolean
Parameters
- input
- String
The id string to convert.
- result
- ResourceIdentifier
The structure that will contain the parsed value. If the method returns true result contains a valid ResourceIdentifier. If the method returns false, result will be null.
Returns
True if the parse operation was successful; otherwise, false.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET