Application.DataTypeInfos Property
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.
Returns a DataTypeInfos collection that contains DataTypeInfo objects. This property is read-only.
public:
property Microsoft::SqlServer::Dts::Runtime::DataTypeInfos ^ DataTypeInfos { Microsoft::SqlServer::Dts::Runtime::DataTypeInfos ^ get(); };
public Microsoft.SqlServer.Dts.Runtime.DataTypeInfos DataTypeInfos { get; }
member this.DataTypeInfos : Microsoft.SqlServer.Dts.Runtime.DataTypeInfos
Public ReadOnly Property DataTypeInfos As DataTypeInfos
Property Value
A DataTypeInfos collection that contains DataTypeInfo objects.
Examples
The following code example shows how to enumerate the available data types.
class ApplicationTests1
{
static void Main(string[] args)
{
DataTypeInfos dti = new Application().DataTypeInfos;
foreach (DataTypeInfo x in dti)
Console.WriteLine(x.TypeName + " , " + x.TypeEnumName);
}
}
class ApplicationTests1
Sub Main(ByVal args() As String)
Dim dti As DataTypeInfos = New Application().DataTypeInfos
For Each x As DataTypeInfo In dti
Console.WriteLine(x.TypeName + " , " + x.TypeEnumName)
Next
End Sub
End Class