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
- newBitmap
Type: System.Drawing.Bitmap
The new bitmap for this file type.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
FileIconRequestEventArgs Class
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace