다음을 통해 공유


ExternalSettingsManager.GetPropertyScopes Method

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

Namespace:  Microsoft.VisualStudio.Settings
Assembly:  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

‘선언
Public Overrides NotOverridable Function GetPropertyScopes ( _
    collectionPath As String, _
    propertyName As String _
) As EnclosingScopes
‘사용 방법
Dim instance As ExternalSettingsManager
Dim collectionPath As String
Dim propertyName As String
Dim returnValue As EnclosingScopes

returnValue = instance.GetPropertyScopes(collectionPath, _
    propertyName)
public override sealed EnclosingScopes GetPropertyScopes(
    string collectionPath,
    string propertyName
)
public:
virtual EnclosingScopes GetPropertyScopes(
    String^ collectionPath, 
    String^ propertyName
) override sealed
abstract GetPropertyScopes : 
        collectionPath:string * 
        propertyName:string -> EnclosingScopes 
override GetPropertyScopes : 
        collectionPath:string * 
        propertyName:string -> EnclosingScopes 
public override final function GetPropertyScopes(
    collectionPath : String, 
    propertyName : String
) : EnclosingScopes

Parameters

  • collectionPath
    Type: System.String
    Path of the collection of the property.
  • propertyName
    Type: System.String
    Name of the property to be searched.

Return Value

Type: Microsoft.VisualStudio.Settings.EnclosingScopes

.NET Framework Security

See Also

Reference

ExternalSettingsManager Class

ExternalSettingsManager Members

Microsoft.VisualStudio.Settings Namespace