Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Outputs the scopes that contain the given property.
Namespace: Microsoft.VisualStudio.Settings
Assembly: Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)
Syntax
'Declaration
Public MustOverride Function GetPropertyScopes ( _
collectionPath As String, _
propertyName As String _
) As EnclosingScopes
'Usage
Dim instance As SettingsManager
Dim collectionPath As String
Dim propertyName As String
Dim returnValue As EnclosingScopes
returnValue = instance.GetPropertyScopes(collectionPath, _
propertyName)
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
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
Enclosing scopes.
Remarks
If more than one scope contains the property, the corresponding bit flags of those scopes are set.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.