Condividi tramite


Proprietà TypeConverter

Specifies the type converter for an IDTSCustomProperty100 object.

Spazio dei nomi:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintassi

'Dichiarazione
Property TypeConverter As String
    Get
    Set
'Utilizzo
Dim instance As IDTSCustomProperty100
Dim value As String

value = instance.TypeConverter

instance.TypeConverter = value
string TypeConverter { get; set; }
property String^ TypeConverter {
    String^ get ();
    void set (String^ value);
}
abstract TypeConverter : string with get, set
function get TypeConverter () : String
function set TypeConverter (value : String)

Valore proprietà

Tipo: System. . :: . .String
A String that specifies the type converter for the IDTSCustomProperty100 object.

Osservazioni

The TypeConverter property lets you specify how to convert user-defined types to other data types. One common use is to convert the integer values of an enumeration to the corresponding string for that integer value. When you do this the name of the enumeration is displayed in the property grid instead of the corresponding integer value.

For information on using this property, see "Creating Custom Properties" in Metodi della fase di progettazione di un componente del flusso di dati.