TypeUsage.CreateTimeTypeUsage(PrimitiveType, Nullable<Byte>) Method
Definition
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.
public:
static System::Data::Metadata::Edm::TypeUsage ^ CreateTimeTypeUsage(System::Data::Metadata::Edm::PrimitiveType ^ primitiveType, Nullable<System::Byte> precision);
public static System.Data.Metadata.Edm.TypeUsage CreateTimeTypeUsage (System.Data.Metadata.Edm.PrimitiveType primitiveType, byte? precision);
static member CreateTimeTypeUsage : System.Data.Metadata.Edm.PrimitiveType * Nullable<byte> -> System.Data.Metadata.Edm.TypeUsage
Public Shared Function CreateTimeTypeUsage (primitiveType As PrimitiveType, precision As Nullable(Of Byte)) As TypeUsage
Parameters
- primitiveType
- PrimitiveType
The simple type that defines the units of measurement of the DateTime object.
The degree of granularity of the DateTimeOffset in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds.
Returns
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.