PDIObjectVersion Property
This is used to establish the specification version to which the PDI object will conform when
converted to its string form.
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public virtual SpecificationVersions Version { get; set; }
Public Overridable Property Version As SpecificationVersions
Get
Set
public:
virtual property SpecificationVersions Version {
SpecificationVersions get ();
void set (SpecificationVersions value);
}
abstract Version : SpecificationVersions with get, set
override Version : SpecificationVersions with get, set
Property 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.
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. |