Share this page

# lr.missing

Returns a variant whose value is Missing.

## C#

    int lr.missing (VARIANT *pVariant );

## VB.NET

    Function lr.missing ( ByRef pVariant As Object ) as Integer

Argument Functions

## Arguments

Name | Comments
--- | ---
pVariant | The output argument for the MissingVariant

The lr.missing function sets the pVariant argument to the value Missing.

## Return Values

This function always returns zero.

## Parameterization

Parameterization is not applicable to this function.

## Example

The following example returns true when the variant is not null.

    if(ObjectCheck(lr.missing))  lr.output_message("lr.missing is "+lr.missing.ToString());else  lr.output_message("lr.missing is null object"); public bool ObjectCheck(object obj){ if(obj==null)   return false; else   return true;}

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: