OptionalProperty.IsDefined 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- value
- JsonElement
傳回
適用於
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
類型參數
- T
參數
- value
- Nullable<T>