EdmItemCollection 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 EdmItemCollection 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| EdmItemCollection(IEnumerable<XmlReader>) |
透過使用 XMLReader 物件集合初始化該類別的新實例 EdmItemCollection ,該物件包含概念結構定義語言(CSDL)檔案。 |
| EdmItemCollection(String[]) |
透過使用概念結構定義語言(CSDL)檔案所在路徑來初始化該類別的新 EdmItemCollection 實例。 |
EdmItemCollection(IEnumerable<XmlReader>)
透過使用 XMLReader 物件集合初始化該類別的新實例 EdmItemCollection ,該物件包含概念結構定義語言(CSDL)檔案。
public:
EdmItemCollection(System::Collections::Generic::IEnumerable<System::Xml::XmlReader ^> ^ xmlReaders);
public EdmItemCollection(System.Collections.Generic.IEnumerable<System.Xml.XmlReader> xmlReaders);
new System.Data.Metadata.Edm.EdmItemCollection : seq<System.Xml.XmlReader> -> System.Data.Metadata.Edm.EdmItemCollection
Public Sub New (xmlReaders As IEnumerable(Of XmlReader))
參數
- xmlReaders
- IEnumerable<XmlReader>
XMLReader 物件的集合,包含概念結構定義語言(CSDL)檔案。
適用於
EdmItemCollection(String[])
透過使用概念結構定義語言(CSDL)檔案所在路徑來初始化該類別的新 EdmItemCollection 實例。
public:
EdmItemCollection(... cli::array <System::String ^> ^ filePaths);
public EdmItemCollection(params string[] filePaths);
new System.Data.Metadata.Edm.EdmItemCollection : string[] -> System.Data.Metadata.Edm.EdmItemCollection
Public Sub New (ParamArray filePaths As String())
參數
- filePaths
- String[]
概念性結構定義語言(CSDL)檔案所在的路徑。