FileContext.CreateFileContexts(FileContext[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回文件上下文集合
public:
static System::Collections::Generic::IReadOnlyCollection<Microsoft::VisualStudio::Workspace::FileContext ^> ^ CreateFileContexts(... cli::array <Microsoft::VisualStudio::Workspace::FileContext ^> ^ fileContexts);
public static System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.FileContext> CreateFileContexts (params Microsoft.VisualStudio.Workspace.FileContext[] fileContexts);
static member CreateFileContexts : Microsoft.VisualStudio.Workspace.FileContext[] -> System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.FileContext>
Public Shared Function CreateFileContexts (ParamArray fileContexts As FileContext()) As IReadOnlyCollection(Of FileContext)
参数
- fileContexts
- FileContext[]
文件上下文的数组
返回
文件上下文的只读集合