ICertEncodeLongArray::SetValue method (certenc.h)

The SetValue method sets a Long value at the specified index of the Long array.

You must call ICertEncodeLongArray::Reset before calling SetValue for the first time.

Syntax

HRESULT SetValue(
  [in] LONG Index,
  [in] LONG Value
);

Parameters

[in] Index

The zero-based index that specifies the index of the array element to set.

[in] Value

Specifies the Long value to set.

Return value

VB

If the method succeeds, the method returns S_OK.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header certenc.h (include Certsrv.h)
Library Certidl.lib
DLL Certenc.dll

See also

ICertEncodeLongArray

ICertEncodeLongArray::GetValue

ICertEncodeLongArray::Reset