AppliesToHelper.TryParseAppliesTo(String, AppliesTo) 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.
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.