SettingsManager.GetPropertyScopes Method

Outputs the scopes that contain the given property.

Namespace:  Microsoft.VisualStudio.Settings
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

'Declaration
Public MustOverride Function GetPropertyScopes ( _
    collectionPath As String, _
    propertyName As String _
) As EnclosingScopes
public abstract EnclosingScopes GetPropertyScopes(
    string collectionPath,
    string propertyName
)
public:
virtual EnclosingScopes GetPropertyScopes(
    String^ collectionPath, 
    String^ propertyName
) abstract
abstract GetPropertyScopes : 
        collectionPath:string * 
        propertyName:string -> EnclosingScopes
public abstract function GetPropertyScopes(
    collectionPath : String, 
    propertyName : String
) : EnclosingScopes

Parameters

  • collectionPath
    Type: System.String

    The path of the collection of the property.

  • propertyName
    Type: System.String

    The name of the property to be searched.

Return Value

Type: Microsoft.VisualStudio.Settings.EnclosingScopes
The enclosing scopes.

Remarks

If more than one scope contains the property, the corresponding bit flags of those scopes are set.

.NET Framework Security

See Also

Reference

SettingsManager Class

Microsoft.VisualStudio.Settings Namespace