ICertEncodeDateArray::GetValue method

The GetValue method returns the specified date from the DATE array.

Syntax


HRESULT GetValue(
  [in]   LONG Index,
  [out]  DATE *pValue
);

Parameters

Index [in]

The zero-based index that specifies the date to retrieve.

pValue [out]

A pointer to a DATE variable that receives the date.

Return value

C++

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.

VB

The return value is the DATE value at the specified index.

Examples

For an example that uses the GetValue 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::GetCount
ICertEncodeDateArray::SetValue

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.