TypeUsage.CreateDecimalTypeUsage 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.
Creates a TypeUsage object to describe a decimal type.
Overloads
CreateDecimalTypeUsage(PrimitiveType) |
Creates a TypeUsage object to describe a decimal type with unbounded precision and scale facet values. |
CreateDecimalTypeUsage(PrimitiveType, Byte, Byte) |
Creates a TypeUsage object to describe a decimal type by using the specified facet values. |
CreateDecimalTypeUsage(PrimitiveType)
Creates a TypeUsage object to describe a decimal type with unbounded precision and scale facet values.
public:
static System::Data::Metadata::Edm::TypeUsage ^ CreateDecimalTypeUsage(System::Data::Metadata::Edm::PrimitiveType ^ primitiveType);
public static System.Data.Metadata.Edm.TypeUsage CreateDecimalTypeUsage (System.Data.Metadata.Edm.PrimitiveType primitiveType);
static member CreateDecimalTypeUsage : System.Data.Metadata.Edm.PrimitiveType -> System.Data.Metadata.Edm.TypeUsage
Public Shared Function CreateDecimalTypeUsage (primitiveType As PrimitiveType) As TypeUsage
Parameters
- primitiveType
- PrimitiveType
A PrimitiveType for which the TypeUsage object is created.
Returns
A TypeUsage object describing a decimal type with unbounded precision and scale facet values.
Applies to
CreateDecimalTypeUsage(PrimitiveType, Byte, Byte)
Creates a TypeUsage object to describe a decimal type by using the specified facet values.
public:
static System::Data::Metadata::Edm::TypeUsage ^ CreateDecimalTypeUsage(System::Data::Metadata::Edm::PrimitiveType ^ primitiveType, System::Byte precision, System::Byte scale);
public static System.Data.Metadata.Edm.TypeUsage CreateDecimalTypeUsage (System.Data.Metadata.Edm.PrimitiveType primitiveType, byte precision, byte scale);
static member CreateDecimalTypeUsage : System.Data.Metadata.Edm.PrimitiveType * byte * byte -> System.Data.Metadata.Edm.TypeUsage
Public Shared Function CreateDecimalTypeUsage (primitiveType As PrimitiveType, precision As Byte, scale As Byte) As TypeUsage
Parameters
- primitiveType
- PrimitiveType
A PrimitiveType for which the TypeUsage object is created.
Returns
A TypeUsage object describing a decimal type by using the specified facet values.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za