FileContext.CreateFileContexts(FileContext[]) 方法

定义

返回文件上下文集合

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[]

文件上下文的数组

返回

IReadOnlyCollection<FileContext>

文件上下文的只读集合

适用于