Help Center
Help Center›AfxNova

CWebCtx.SetElementValueByIdmethod

UncategorisedmethodCWebCtx.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE FUNCTION CWebCtx.SetElementValueById (BYREF dwsId AS DWSTRING, BYVAL vValue AS VARIANT) AS HRESULT

Parameters

NameDescription
dwsId= The identifier.
vValue= Variant that specifies the string, number, or Boolean to assign to the attribute. Remarks: This method performs a case insensitive property search. If two or more attributes have the same name (differing only in uppercase and lowercase letters) this function sets values only for the last attribute created with this name, and ignores all other attributes with the same name.
S_OKif successful, or an error value otherwise.

Reference

  • Include file CWebCtx.inc
  • Defined in AfxNova/CWebCtx.inc:593