다음을 통해 공유


OleDataObject.IDataObject.EnumFormatEtc Method

Creates an enumerator to iterate through the FORMATETC structures supported by the data object.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

‘선언
Private Function EnumFormatEtc ( _
    dwDirection As UInteger, _
    <OutAttribute> ByRef ppenumFormatEtc As IEnumFORMATETC _
) As Integer Implements IDataObject.EnumFormatEtc
int IDataObject.EnumFormatEtc(
    uint dwDirection,
    out IEnumFORMATETC ppenumFormatEtc
)

Parameters

  • dwDirection
    Type: System.UInt32
    Direction of the data through a value from the enumeration DATADIR.

Return Value

Type: System.Int32
If the method succeeded, S_OK, otherwise an error code.

Implements

IDataObject.EnumFormatEtc(UInt32, IEnumFORMATETC%)

.NET Framework Security

See Also

Reference

OleDataObject Class

Microsoft.VisualStudio.Shell Namespace