IXlsDataValidation |
interface IXlsDataValidation : IDispatch { [id(1) ] HRESULT AddItem([in]BSTR label); [id(2) ] HRESULT AddItemSource([in]BSTR range); [id(3), propput] HRESULT IgnoreErrorIfEmpty([in]BOOL bIgnoreErrorIfEmpty); [id(4), propput] HRESULT ShowDropDown([in]BOOL bShowDropDown); [id(5), propput] HRESULT ShowInformation([in]BOOL bShowInformation); [id(6), propget] HRESULT InformationMessageTitle([out, retval]BSTR* informationtitle); [id(6), propput] HRESULT InformationMessageTitle([in]BSTR informationtitle); [id(7), propget] HRESULT InformationMessageBody([out, retval]BSTR* informationbody); [id(7), propput] HRESULT InformationMessageBody([in]BSTR informationbody); [id(8), propput] HRESULT ShowError([in]BOOL bShowError); [id(9), propget] HRESULT ErrorMessageTitle([out, retval]BSTR* errortitle); [id(9), propput] HRESULT ErrorMessageTitle([in]BSTR errortitle); [id(10),propget] HRESULT ErrorMessageBody([out, retval]BSTR* errorbody); [id(10),propput] HRESULT ErrorMessageBody([in]BSTR errorbody); [id(11),propput] HRESULT ErrorMessageType([in]enumValidationErrorType type); [id(12),propget] HRESULT ValidationType([out, retval]enumValidationType* valtype); [id(12),propput] HRESULT ValidationType([in]enumValidationType valtype); [id(13),propget] HRESULT ValidationCondition([out, retval]IXlsCellCondition** cc); [id(14),propget] HRESULT ValidationFormula([out, retval]IXlsFormulaCondition** fc); [id(15),propget] HRESULT Areas([out,retval]BSTR* cellrange); [id(16) ] HRESULT Delete(); [id(17),propget] HRESULT PicklistItems([out,retval]BSTR* items); }
HRESULT AddItem([in]BSTR label);
HRESULT AddItemSource([in]BSTR range);
HRESULT IgnoreErrorIfEmpty([in]BOOL bIgnoreErrorIfEmpty);
HRESULT ShowDropDown([in]BOOL bShowDropDown);
HRESULT ShowInformation([in]BOOL bShowInformation);
HRESULT InformationMessageTitle([out, retval]BSTR* informationtitle);
HRESULT InformationMessageTitle([in]BSTR informationtitle);
HRESULT InformationMessageBody([out, retval]BSTR* informationbody);
HRESULT InformationMessageBody([in]BSTR informationbody);
HRESULT ShowError([in]BOOL bShowError);
HRESULT ErrorMessageTitle([out, retval]BSTR* errortitle);
HRESULT ErrorMessageTitle([in]BSTR errortitle);
HRESULT ErrorMessageBody([out, retval]BSTR* errorbody);
HRESULT ErrorMessageBody([in]BSTR errorbody);
HRESULT ErrorMessageType([in]enumValidationErrorType type);
HRESULT ValidationType([out, retval]enumValidationType* valtype);
HRESULT ValidationType([in]enumValidationType type);
HRESULT ValidationCondition([out, retval]IXlsCellCondition** cc);
HRESULT ValidationFormula([out, retval]IXlsFormulaCondition** fc);
HRESULT Areas([out,retval]BSTR* cellrange);
HRESULT Delete();
HRESULT PicklistItems([out,retval]BSTR* items);