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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om