Delen via


License.TryParse Method (String, Boolean, 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, _
    ignoreCase As Boolean, _
    <OutAttribute> ByRef license As License _
) As Boolean
public static bool TryParse(
    string text,
    bool ignoreCase,
    out License license
)
public:
static bool TryParse(
    String^ text, 
    bool ignoreCase, 
    [OutAttribute] License^% license
)
static member TryParse : 
        text:string * 
        ignoreCase:bool * 
        license:License byref -> bool
public static function TryParse(
    text : String, 
    ignoreCase : boolean, 
    license : License
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

License Class

TryParse Overload

Microsoft.VisualStudio.Services.Licensing Namespace