Partager via


SettingsStore.PropertyExists, méthode

Active l'existence de la propriété passée dans cette méthode.

Espace de noms :  Microsoft.VisualStudio.Settings
Assemblys :   Microsoft.VisualStudio.Settings (dans Microsoft.VisualStudio.Settings.dll)
  Microsoft.VisualStudio.Shell.11.0 (dans Microsoft.VisualStudio.Shell.11.0.dll)

Syntaxe

'Déclaration
Public MustOverride Function PropertyExists ( _
    collectionPath As String, _
    propertyName As String _
) As Boolean
public abstract bool PropertyExists(
    string collectionPath,
    string propertyName
)

Paramètres

  • collectionPath
    Type : System.String
    Chemin d'accès de la collection de la propriété.

Valeur de retour

Type : System.Boolean
Retourne true si la propriété existe et false sinon.

Sécurité .NET Framework

Voir aussi

Référence

SettingsStore Classe

Microsoft.VisualStudio.Settings, espace de noms