Returns the value of the NBElement passed in after first converting it to a Nullable<Int32> if required with the specified format.
Namespace: IBM.Broker.PluginAssembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
public static Nullable<int> ToNullableInt32(
NBElement value,
string format
)
public static Nullable<int> ToNullableInt32(
NBElement value,
string format
)
Public Shared Function ToNullableInt32 (
value As NBElement,
format As String
) As Nullable(Of Integer)
Public Shared Function ToNullableInt32 (
value As NBElement,
format As String
) As Nullable(Of Integer)
public:
static Nullable<int> ToNullableInt32(
NBElement^ value,
String^ format
)
public:
static Nullable<int> ToNullableInt32(
NBElement^ value,
String^ format
)
static member ToNullableInt32 :
value : NBElement *
format : string -> Nullable<int>
static member ToNullableInt32 :
value : NBElement *
format : string -> Nullable<int>
Return Value
Type:
Nullable
Int32 The current element's value converted to a
Nullable<Int32> data type using the specified format.
Exception | Condition |
---|
System FormatException | Thrown if the value can not be converted to a Nullable<Int32> with the given format. |
The format string uses the syntax documented in the Information Center in the topic "Formatting and parsing numbers as strings (ak05615)".