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>