PbBlobExtensions.Time(this PbBlob pbBlob) Method
.NET Standard 2.x
Extracts a TimeSpan value from a PbBlob in which the first value is a time.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static TimeSpan? Time(this PbBlob pbBlob);
Parameters
pbBlob
PowerScript.Bridge.PbBlob
A PbBlob in which the first value is a TimeSpan or DateTime value. The rest of the contents of PbBlob is ignored.
Returns
System.TimeSpan
Returns the time in datetime as a time. If pbBlob in which the first value is not a valid time or is an incompatible datatype, Time returns 00:00:00.000000. If pbBlob is null, Time returns null.
Examples
Coming soon.
Applies to
.NET Standard
2.x