IVsSettingsManager.GetCollectionScopes(String, UInt32) 方法

定义

返回有关指定集合的作用域的标志。

public:
 int GetCollectionScopes(System::String ^ collectionPath, [Runtime::InteropServices::Out] System::UInt32 % scopes);
int GetCollectionScopes(std::wstring const & collectionPath, [Runtime::InteropServices::Out] unsigned int & scopes);
public int GetCollectionScopes (string collectionPath, out uint scopes);
abstract member GetCollectionScopes : string *  -> int
Public Function GetCollectionScopes (collectionPath As String, ByRef scopes As UInteger) As Integer

参数

collectionPath
String

中集合文件的路径。

scopes
UInt32

__VsEnclosingScopes 集合的。

返回

Int32

S_OK如果返回了集合的范围,则返回。

注解

如果有多个范围包含集合,则设置这些范围的相应标志。 如果没有范围包含集合,则将 scope 参数设置为 EnclosingScopes_None

适用于