SolutionContexts.Item(Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回 SolutionContext 集合中的对象 SolutionContexts 。
public:
EnvDTE::SolutionContext ^ Item(System::Object ^ index);
public:
EnvDTE::SolutionContext ^ Item(Platform::Object ^ index);
EnvDTE::SolutionContext Item(winrt::Windows::Foundation::IInspectable const & index);
[System.Runtime.InteropServices.DispId(0)]
public EnvDTE.SolutionContext Item (object index);
[<System.Runtime.InteropServices.DispId(0)>]
abstract member Item : obj -> EnvDTE.SolutionContext
Public Function Item (index As Object) As SolutionContext
参数
- index
- Object
返回
SolutionContext 对象。
- 属性
注解
传递给的值 Index 是一个整数,它是 SolutionContext 其集合中对象的索引, SolutionContexts 或者是对象的名称的字符串 SolutionContext 。
Item ArgumentException 如果集合找不到与索引值对应的对象,则该方法将引发异常。