License.TryParse, méthode (String, License%)
Espace de noms : Microsoft.VisualStudio.Services.Licensing
Assembly : Microsoft.VisualStudio.Services.WebApi (dans Microsoft.VisualStudio.Services.WebApi.dll)
Syntaxe
'Déclaration
Public Shared Function TryParse ( _
text As String, _
<OutAttribute> ByRef license As License _
) As Boolean
public static bool TryParse(
string text,
out License license
)
Paramètres
- text
Type : System.String
- license
Type : Microsoft.VisualStudio.Services.Licensing.License%
Valeur de retour
Type : System.Boolean
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.