TypeUsage.CreateDateTimeTypeUsage(PrimitiveType, Nullable<Byte>) Método
Definição
public:
static System::Data::Metadata::Edm::TypeUsage ^ CreateDateTimeTypeUsage(System::Data::Metadata::Edm::PrimitiveType ^ primitiveType, Nullable<System::Byte> precision);
public static System.Data.Metadata.Edm.TypeUsage CreateDateTimeTypeUsage (System.Data.Metadata.Edm.PrimitiveType primitiveType, byte? precision);
static member CreateDateTimeTypeUsage : System.Data.Metadata.Edm.PrimitiveType * Nullable<byte> -> System.Data.Metadata.Edm.TypeUsage
Public Shared Function CreateDateTimeTypeUsage (primitiveType As PrimitiveType, precision As Nullable(Of Byte)) As TypeUsage
Parâmetros
- primitiveType
- PrimitiveType
O tipo simples que define as unidades de medida do objeto DateTime.The simple type that defines the units of measurement of the DateTime object.
O grau de granularidade do DateTimeOffset em frações de segundo, com base no número de casas decimais com suporte.The degree of granularity of the DateTimeOffset in fractions of a second, based on the number of decimal places supported. Por exemplo, uma precisão de 3 significa que a granularidade com suporte é de milissegundos.For example a precision of 3 means the granularity supported is milliseconds.
Retornos
Um objeto DateTimeTypeUsage.A DateTimeTypeUsage object.