Dela via


IOptions::PropertyExists

 

Gets whether or not a value has been set for the property pstrName.

Syntax

HRESULT STDMETHODCALLTYPE PropertyExists(LPCOLESTR pstrName,VARIANT_BOOL *pfExists);

Parameters

pstrName

[in] The name of the property to check for.

pfExists

[out,retval] VARIANT_TRUE if the property exists; VARIANT_FALSE otherwise.

Return Value

One of the standard HRESULT values.

Remarks

If the value for the property pstrName has been set to NULL, pfExists will be set to VARIANT_TRUE.

Requirements

Type Library

VstaCore.tlb

Header

VstaCore.h

See Also

IOptions Interface