OracleMonthSpan Constructors
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.
Initializes a new OracleMonthSpan structure.
OracleMonthSpan(OracleMonthSpan) |
Initializes a new OracleMonthSpan structure from an existing one. |
OracleMonthSpan(Int32) |
Initializes a new OracleMonthSpan structure to the specified number of months. |
OracleMonthSpan(Int32, Int32) |
Initializes a new OracleMonthSpan structure to a specified number years and months. |
Initializes a new OracleMonthSpan structure from an existing one.
public:
OracleMonthSpan(System::Data::OracleClient::OracleMonthSpan from);
public OracleMonthSpan(System.Data.OracleClient.OracleMonthSpan from);
new System.Data.OracleClient.OracleMonthSpan : System.Data.OracleClient.OracleMonthSpan -> System.Data.OracleClient.OracleMonthSpan
Public Sub New (from As OracleMonthSpan)
Parameters
- from
- OracleMonthSpan
An existing OracleMonthSpan structure from which to create the new structure.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new OracleMonthSpan structure to the specified number of months.
public:
OracleMonthSpan(int months);
public OracleMonthSpan(int months);
new System.Data.OracleClient.OracleMonthSpan : int -> System.Data.OracleClient.OracleMonthSpan
Public Sub New (months As Integer)
Parameters
- months
- Int32
Number of months.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new OracleMonthSpan structure to a specified number years and months.
public:
OracleMonthSpan(int years, int months);
public OracleMonthSpan(int years, int months);
new System.Data.OracleClient.OracleMonthSpan : int * int -> System.Data.OracleClient.OracleMonthSpan
Public Sub New (years As Integer, months As Integer)
Parameters
- years
- Int32
Number of years.
- months
- Int32
Number of months.
Exceptions
The parameters specify an OracleMonthSpan value less than OracleMonthSpan.MinValue or greater than OracleMonthSpan.MaxValue.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: