Sdílet prostřednictvím


ExtensionMethods.GetUInt16(EdmModel, String, Boolean) Metoda

Definice

Získejte odkaz na typ výchozí definice typu UInt16. Výchozí typ je Microsoft.OData.Edm.PrimitiveValueConverterConstants.DefaultUInt16UnderlyingType. Pokud uživatel již definoval svůj vlastní UInt16, tato metoda nic nedefinuje a jednoduše vrátí odkaz na typ.

public static Microsoft.OData.Edm.IEdmTypeDefinitionReference GetUInt16 (this Microsoft.OData.Edm.EdmModel model, string namespaceName, bool isNullable);
static member GetUInt16 : Microsoft.OData.Edm.EdmModel * string * bool -> Microsoft.OData.Edm.IEdmTypeDefinitionReference
<Extension()>
Public Function GetUInt16 (model As EdmModel, namespaceName As String, isNullable As Boolean) As IEdmTypeDefinitionReference

Parametry

model
EdmModel

Model, o který se jedná

namespaceName
String

Název oboru názvů, ve kterém se nachází definice typu.

isNullable
Boolean

Určuje, jestli odkaz na definici typu může být null.

Návraty

Odkaz na typ s možnou hodnotou null na definici typu UInt16.

Platí pro