OptionalProperty.IsDefined Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
| Name | Description |
|---|---|
| IsDefined(Object) | |
| IsDefined(String) | |
| IsDefined(JsonElement) | |
| IsDefined<T>(Nullable<T>) |
IsDefined(JsonElement)
public:
static bool IsDefined(System::Text::Json::JsonElement value);
public static bool IsDefined(System.Text.Json.JsonElement value);
static member IsDefined : System.Text.Json.JsonElement -> bool
Public Shared Function IsDefined (value As JsonElement) As Boolean
Parametrar
- value
- JsonElement
Returer
Gäller för
IsDefined<T>(Nullable<T>)
public:
generic <typename T>
where T : value class static bool IsDefined(Nullable<T> value);
public static bool IsDefined<T>(T? value) where T : struct;
static member IsDefined : Nullable<'T (requires 'T : struct)> -> bool (requires 'T : struct)
Public Shared Function IsDefined(Of T As Structure) (value As Nullable(Of T)) As Boolean
Typparametrar
- T
Parametrar
- value
- Nullable<T>