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.