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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för