- dataset
- The dataset that holds information on a DICOM basic directory.
Visual Basic (Declaration) | |
---|---|
<ExtensionAttribute()> Public Shared Function DirectoryRecord(Of T)( _ ByVal dataset As DicomDataSet _ ) As Queryable(Of T) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim dataset As DicomDataSet Dim value As Queryable(Of T) value = LinqExtensions.DirectoryRecord(Of T)(dataset) |
C# | |
---|---|
[ExtensionAttribute()] public static Queryable<T> DirectoryRecord<T>( DicomDataSet dataset ) |
C++/CLI | |
---|---|
[ExtensionAttribute()] public: static Queryable<T^>^ DirectoryRecordgeneric<typename T> ( DicomDataSet^ dataset ) |
Parameters
- dataset
- The dataset that holds information on a DICOM basic directory.
Type Parameters
- T
- The entity type of the query.
Return Value
A object that provides LINQ based access to a DICOM basic directory.This example will show how to perform serveral different types of LINQ based queries on a DICOM basic directory.
This extension method represents a query that returns a collection of zero or more objects of a specific type. A valid DICOMDIR must be present in the dataset parameter before a query can be executed. A DICOMDIR query will be executed in the following scenarios:
- When it is acted upon, such as during a foreach(C#) or For Each (Visual Basic) enumeration.
- When it is assigned to fill a List<T> collection.
The following operations are provided by the DICOMDIR LINQ Provider.
- SelectMany
- String Methods (Contains, StartWith, and EndsWith)
- LINQ Projection
- Subqueries
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7