Nevron Open Vision Documentation
Nevron.Nov.Windows.OLE Namespace / NOleDataObjectProvider Class / SetData Method


In This Topic
    SetData Method (NOleDataObjectProvider)
    In This Topic
    Transfers data to the object that implements this method. This method is called by an object that contains a data source.
    Syntax
    'Declaration
     
    
    Public Sub SetData( _
       ByRef formatIn As System.Runtime.InteropServices.ComTypes.FORMATETC, _
       ByRef medium As System.Runtime.InteropServices.ComTypes.STGMEDIUM, _
       ByVal release As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NOleDataObjectProvider
    Dim formatIn As System.Runtime.InteropServices.ComTypes.FORMATETC
    Dim medium As System.Runtime.InteropServices.ComTypes.STGMEDIUM
    Dim release As System.Boolean
     
    instance.SetData(formatIn, medium, release)
    public void SetData( 
       ref System.Runtime.InteropServices.ComTypes.FORMATETC formatIn,
       ref System.Runtime.InteropServices.ComTypes.STGMEDIUM medium,
       System.bool release
    )

    Parameters

    formatIn
    medium
    release
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also