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
- text
Type: System.String
- ignoreCase
Type: System.Boolean
- license
Type: Microsoft.VisualStudio.Services.Licensing.License%
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.