Understanding MSDN - What does this mean?

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
 
K

Kevin White

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top