IWDTFActions2::get__NewEnum method (wdtf.h)
Gets a new iteration variable that the For Each loop structure implicitly uses.
Syntax
HRESULT get__NewEnum(
[out] IUnknown **ppNewEnum
);
Parameters
[out] ppNewEnum
The iteration variable.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
You cannot access the _NewEnum property from the JScript programming language.
You must use the Active Template Library (ATL) to implement this functionality. For more information about how ATL implements this functionality, see the ICollectionOnSTLImpl interface in the MSDN Library.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | wdtf.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for