TypeCheckFunctionsExtensions.IsDefined(Object) TypeCheckFunctionsExtensions.IsDefined(Object) TypeCheckFunctionsExtensions.IsDefined(Object) Method

Definition

Determines if a certain property is defined or not.

public static bool IsDefined (this object obj);
static member IsDefined : obj -> bool
<Extension()>
Public Function IsDefined (obj As Object) As Boolean
Parameters
Returns

Returns true if this property is defined otherwise returns false.

Examples


            var isDefinedQuery = documents.Where(document => document.Name.IsDefined());

Applies to