Export (0) Print
Expand All

ICertEncodeDateArray::SetValue method

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

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

Syntax


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

Parameters

Index [in]

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

Value [in]

Specifies the DATE 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.

Examples

For an example that uses the SetValue method, see the ICertEncodeDateArray::Encode method.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Certenc.h (include Certsrv.h)

Library

Certidl.lib

DLL

Certenc.dll

IID

IID_ICertEncodeDateArray is defined as 2f9469a0-a470-11d0-8821-00a0c903b83c

See also

ICertEncodeDateArray
ICertEncodeDateArray::GetValue
ICertEncodeDateArray::Reset

 

 

Community Additions

ADD
Show:
© 2015 Microsoft