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
- text
Type: System.String
- 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.