PropertiesCollection.TryGetValue<T>, méthode (String, T%)
Espace de noms : Microsoft.VisualStudio.Services.WebApi
Assembly : Microsoft.VisualStudio.Services.WebApi (dans Microsoft.VisualStudio.Services.WebApi.dll)
Syntaxe
'Déclaration
Public Function TryGetValue(Of T) ( _
key As String, _
<OutAttribute> ByRef value As T _
) As Boolean
public bool TryGetValue<T>(
string key,
out T value
)
Paramètres de type
- T
Paramètres
- key
Type : System.String
- value
Type : T%
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.