ExternalSettingsManager::GetPropertyScopes Method (String^, String^)

 

Outputs the scopes that contain the given property.

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

public:
[EnvironmentPermissionAttribute(SecurityAction::LinkDemand, Unrestricted = true)]
virtual EnclosingScopes GetPropertyScopes(
	String^ collectionPath,
	String^ propertyName
) override sealed

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.

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

Return to top
Show: