SettableOleDataObject.EnumFormatEtc Method
Gets an object that allows you to enumerate the formats supported by the data object.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Function EnumFormatEtc ( _
dwDirection As UInteger, _
<OutAttribute> ByRef ppenumFormatEtc As IEnumFORMATETC _
) As Integer
public int EnumFormatEtc(
uint dwDirection,
out IEnumFORMATETC ppenumFormatEtc
)
public:
virtual int EnumFormatEtc(
unsigned int dwDirection,
[OutAttribute] IEnumFORMATETC^% ppenumFormatEtc
) sealed
abstract EnumFormatEtc :
dwDirection:uint32 *
ppenumFormatEtc:IEnumFORMATETC byref -> int
override EnumFormatEtc :
dwDirection:uint32 *
ppenumFormatEtc:IEnumFORMATETC byref -> int
public final function EnumFormatEtc(
dwDirection : uint,
ppenumFormatEtc : IEnumFORMATETC
) : int
Parameters
- dwDirection
Type: System.UInt32
A pointer to the DATADIR enumeration, which specifies the direction of the data flow.
- ppenumFormatEtc
Type: Microsoft.VisualStudio.OLE.Interop.IEnumFORMATETC%
[out] The enumerator.
Return Value
Type: System.Int32
If the method succeeds, [F:Microsoft.VisualStudio.VSConstants.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.