Understanding MSDN - What does this mean?

  • Thread starter Thread starter SamSpade
  • Start date Start date
S

SamSpade

I programmed
Private Sub RichTextBox1_DragDrop(...)Handles RichTextBox1.DragDrop

And find something's about it are strange. Now I find the following and
wonder what it means. Am I not supposed to handle DragDrop??



NET Framework Class Library

RichTextBox.DragDrop Event
This member supports the .NET Framework infrastructure and is not intended
to be used directly from your code.

[Visual Basic]
Public Shadows Event DragDrop As DragEventHandler
[C#]
public new event DragEventHandler DragDrop;
[C++]
public: __event DragEventHandler* DragDrop;[JScript] In JScript, you can
handle the events defined by a class, but you cannot define your own.

See Also
RichTextBox Class | RichTextBox Members | System.Windows.Forms Namespace |
RichTextBox Members (Visual J# Syntax) | Managed Extensions for C++
Programming
 
I think the text "This member supports ... and is not intended to be
used directly from your code." is referring to the fact that you
should never call the DragDrop() method directly. i.e.: you wouldn't
call RichTextBox1.DragDrop(). Rather, you handle it as an event, as
you have listed.

Kevin
 
Back
Top