IVsSettingsManager::GetPropertyScopes Method (String^, String^, UInt32)

 

Returns the scopes that contain the given property in the given collection.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int GetPropertyScopes(
	String^ collectionPath,
	String^ propertyName,
	[OutAttribute] unsigned int% scopes
)

Parameters

collectionPath
Type: System::String^

[in] The path to the collections file.

propertyName
Type: System::String^

[in] The name of the property.

scopes
Type: System::UInt32

[out] The __VsEnclosingScopes for the collections.

Return Value

Type: System::Int32

Returns S_OK if the property was found and the scope was returned.

If more than one scope contains the collection, the corresponding flags of those scopes are set. If none of the scopes contains the collection, the scope parameter is set to EnclosingScopes_None.

Return to top
Show: