- functionType
The type of callback to add.
This parameter must be one of the RasterImagePaintCallbackFunction enumeration.
- functionPointer
The callback function.
Visual Basic (Declaration) | |
---|---|
Public Sub SetCallback( _ ByVal functionType As RasterImagePaintCallbackFunction, _ ByVal functionPointer As PaintCallbackDelegate _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As RasterPaintCallbacks Dim functionType As RasterImagePaintCallbackFunction Dim functionPointer As PaintCallbackDelegate instance.SetCallback(functionType, functionPointer) |
C# | |
---|---|
public void SetCallback( RasterImagePaintCallbackFunction functionType, PaintCallbackDelegate functionPointer ) |
C++/CLI | |
---|---|
public: void SetCallback( RasterImagePaintCallbackFunction functionType, PaintCallbackDelegate^ functionPointer ) |
Parameters
- functionType
The type of callback to add.
This parameter must be one of the RasterImagePaintCallbackFunction enumeration.
- functionPointer
The callback function.
This method sets a particular callback. If you wish to remove a callback pass null (Nothing in VB) as functionPointer parameter.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)