共用方式為


IDTSVirtualInputColumn100.Length Property

Definition

Gets the length of a column.

public:
 property int Length { int get(); };
[System.Runtime.InteropServices.DispId(102)]
public int Length { [System.Runtime.InteropServices.DispId(102)] get; }
[<System.Runtime.InteropServices.DispId(102)>]
[<get: System.Runtime.InteropServices.DispId(102)>]
member this.Length : int
Public ReadOnly Property Length As Integer

Property Value

The length of the column.

Attributes

Remarks

Modifications to this property are not persisted in the upstream column or in the virtual column. When new input columns are created from a virtual column, the length property of the new column matches this value.

The Length property is set for the following data types.

  • DT_WSTR

  • DT_BYTES

  • DT_STR

  • DT_TEXT

  • For all other data types, Length is zero.

Applies to