IVsSettingsManager.GetCollectionScopes(String, UInt32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回有关指定集合的作用域的标志。
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 集合的。
返回
S_OK如果返回了集合的范围,则返回。
注解
如果有多个范围包含集合,则设置这些范围的相应标志。 如果没有范围包含集合,则将 scope 参数设置为 EnclosingScopes_None 。