Share via


FileIconRequestEventArgs.SetBitmap Method

Sets the bitmap and priority for the extension.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Public Sub SetBitmap ( _
    newBitmap As Bitmap, _
    priority As Integer _
)
public void SetBitmap(
    Bitmap newBitmap,
    int priority
)
public:
void SetBitmap(
    Bitmap^ newBitmap, 
    int priority
)
member SetBitmap : 
        newBitmap:Bitmap * 
        priority:int -> unit 
public function SetBitmap(
    newBitmap : Bitmap, 
    priority : int
)

Parameters

  • priority
    Type: System.Int32
    The priority for this bitmap. A lower number means a higher priority.

Remarks

If multiple features each handle this event, the feature with the highest priority controls the bitmap.

.NET Framework Security

See Also

Reference

FileIconRequestEventArgs Class

Microsoft.VisualStudio.Data.Schema.Package.Project Namespace