TFCommonUtil.GetAppSettingAsBool, méthode
Espace de noms : Microsoft.TeamFoundation.Common
Assembly : Microsoft.TeamFoundation.Common (dans Microsoft.TeamFoundation.Common.dll)
Syntaxe
'Déclaration
Public Shared Function GetAppSettingAsBool ( _
key As String, _
defaultValue As Boolean _
) As Boolean
public static bool GetAppSettingAsBool(
string key,
bool defaultValue
)
Paramètres
- key
Type : System.String
- defaultValue
Type : System.Boolean
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.