Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates an enumerator to iterate through the FORMATETC structures supported by the data object.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Private Function EnumFormatEtc ( _
dwDirection As UInteger, _
<OutAttribute> ByRef ppenumFormatEtc As IEnumFORMATETC _
) As Integer Implements IDataObject.EnumFormatEtc
'Usage
Dim instance As OleDataObject
Dim dwDirection As UInteger
Dim ppenumFormatEtc As IEnumFORMATETC
Dim returnValue As Integer
returnValue = CType(instance, IDataObject).EnumFormatEtc(dwDirection, _
ppenumFormatEtc)
int IDataObject.EnumFormatEtc(
uint dwDirection,
out IEnumFORMATETC ppenumFormatEtc
)
private:
virtual int EnumFormatEtc(
unsigned int dwDirection,
[OutAttribute] IEnumFORMATETC^% ppenumFormatEtc
) sealed = IDataObject::EnumFormatEtc
private abstract EnumFormatEtc :
dwDirection:uint32 *
ppenumFormatEtc:IEnumFORMATETC byref -> int
private override EnumFormatEtc :
dwDirection:uint32 *
ppenumFormatEtc:IEnumFORMATETC byref -> int
JScript does not support explicit interface implementations.
Parameters
- dwDirection
Type: System.UInt32
Direction of the data through a value from the enumeration DATADIR.
- ppenumFormatEtc
Type: Microsoft.VisualStudio.OLE.Interop.IEnumFORMATETC%
Address of IEnumFORMATETC* pointer variable that receives the interface pointer to the new enumerator object.
Return Value
Type: System.Int32
If the method succeeded, S_OK, otherwise an error code.
Implements
IDataObject.EnumFormatEtc(UInt32, IEnumFORMATETC%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.