Share via


License.TryParse Method (String, License%)

Namespace:  Microsoft.VisualStudio.Services.Licensing
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Shared Function TryParse ( _
    text As String, _
    <OutAttribute> ByRef license As License _
) As Boolean
public static bool TryParse(
    string text,
    out License license
)
public:
static bool TryParse(
    String^ text, 
    [OutAttribute] License^% license
)
static member TryParse : 
        text:string * 
        license:License byref -> bool
public static function TryParse(
    text : String, 
    license : License
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

License Class

TryParse Overload

Microsoft.VisualStudio.Services.Licensing Namespace