Partager via


AppliesToHelper.TryParseAppliesTo(String, AppliesTo) Method

Definition

Tries to parse a user-input text to an AppliesTo enum.

public static bool TryParseAppliesTo (string text, out Microsoft.Azure.PowerShell.Common.Config.AppliesTo appliesTo);
static member TryParseAppliesTo : string * AppliesTo -> bool
Public Shared Function TryParseAppliesTo (text As String, ByRef appliesTo As AppliesTo) As Boolean

Parameters

text
String

Input from user.

appliesTo
AppliesTo

Result if successful.

Returns

True if parsed successfully.

Applies to