DataSourceManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the set of registered DDEX data sources.
public ref class DataSourceManager abstract : System::Collections::Generic::ICollection<Microsoft::VisualStudio::Data::DataSource ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Data::DataSource ^>
[System.Runtime.InteropServices.Guid("69BD65B1-1C44-49c6-B83A-FB0353334545")]
public abstract class DataSourceManager : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Data.DataSource>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Data.DataSource>
[<System.Runtime.InteropServices.Guid("69BD65B1-1C44-49c6-B83A-FB0353334545")>]
type DataSourceManager = class
interface ICollection<DataSource>
interface seq<DataSource>
interface IEnumerable
Public MustInherit Class DataSourceManager
Implements ICollection(Of DataSource), IEnumerable(Of DataSource)
- Inheritance
-
DataSourceManager
- Attributes
- Implements
Constructors
DataSourceManager() |
Class constructor. Instantiates a new instance of the DataSourceManager class. |
Properties
Count |
Retrieves a count of the number of registered data sources. |
Methods
CopyTo(DataSource[], Int32) |
Copies the set of registered data sources to an array, starting at the specified array index. |
GetDataSource(Guid) |
Retrieves a data source with the specified GUID. |
GetDataSources() |
Retrieves an array of all the registered data sources. |
GetDataSourcesImpl() |
For internal use only. |
Explicit Interface Implementations
ICollection<DataSource>.Add(DataSource) | |
ICollection<DataSource>.Clear() | |
ICollection<DataSource>.Contains(DataSource) | |
ICollection<DataSource>.IsReadOnly | |
ICollection<DataSource>.Remove(DataSource) | |
IEnumerable.GetEnumerator() |
Retrieves an enumerator for enumerating the DDEX data source collection. |
IEnumerable<DataSource>.GetEnumerator() |
Extension Methods
EmptyIfNull<T>(IEnumerable<T>) |
Return this enumeration in case it is not null. In case it is null return empty enumeration. |