SettableOleDataObject.EnumDAdvise Method
Gets an object that can be used to enumerate advise connections.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Function EnumDAdvise ( _
<OutAttribute> ByRef ppenumAdvise As IEnumSTATDATA _
) As Integer
public int EnumDAdvise(
out IEnumSTATDATA ppenumAdvise
)
public:
virtual int EnumDAdvise(
[OutAttribute] IEnumSTATDATA^% ppenumAdvise
) sealed
abstract EnumDAdvise :
ppenumAdvise:IEnumSTATDATA byref -> int
override EnumDAdvise :
ppenumAdvise:IEnumSTATDATA byref -> int
public final function EnumDAdvise(
ppenumAdvise : IEnumSTATDATA
) : int
Parameters
- ppenumAdvise
Type: Microsoft.VisualStudio.OLE.Interop.IEnumSTATDATA%
[out] The interface that allows you to enumerate advise connections.
Return Value
Type: System.Int32
If the method succeeds, [F:Microsoft.VisualStudio.VSConstants.S_OK;] otherwise, an error code.
Implements
IDataObject.EnumDAdvise(IEnumSTATDATA%)
.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.