PDIObjectVersion Property
This is used to establish the specification version to which the PDI object will conform when
converted to its string form.
Definition
Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
Some PDI objects are handled differently under the different versions of the specifications. This property allows them to react accordingly. If the object is owned by another object, the owner should set the version as needed before doing anything that is version dependent such as converting it to a string. This should also be overridden where necessary to propagate the version to all owned objects. Derived classes with only one version or with version-dependent behavior should always set the default version when constructed.
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public virtual SpecificationVersions Version { get; set; }VB
Public Overridable Property Version As SpecificationVersions
Get
SetC++
public:
virtual property SpecificationVersions Version {
SpecificationVersions get ();
void set (SpecificationVersions value);
}F#
abstract Version : SpecificationVersions with get, set
override Version : SpecificationVersions with get, setProperty Value
SpecificationVersionsSome PDI objects are handled differently under the different versions of the specifications. This property allows them to react accordingly. If the object is owned by another object, the owner should set the version as needed before doing anything that is version dependent such as converting it to a string. This should also be overridden where necessary to propagate the version to all owned objects. Derived classes with only one version or with version-dependent behavior should always set the default version when constructed.
Exceptions
| ArgumentException | This exception is thrown if an attempt is made to set the version to None, a combination of version values, or if the specified version is not supported by the object. |