Bagikan melalui


CStockPropImpl::put_Valid

Call this method to set the flag that indicates if the control is valid or not.

HRESULT STDMETHODCALLTYPE get_Valid( 
   VARIANT_BOOL bValid 
);

Parameters

  • bValid
    TRUE if the control is valid.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::get_Valid