Share via


TeamFoundationIconStripHelperVs.GetBitmapSourceForFile Method

Gets the icon for the specified file.

Namespace:  Microsoft.VisualStudio.TeamFoundation
Assembly:  Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)

Syntax

'Declaration
Public Overrides Function GetBitmapSourceForFile ( _
    filename As String, _
    <OutAttribute> ByRef themeIcon As Boolean _
) As BitmapSource
public override BitmapSource GetBitmapSourceForFile(
    string filename,
    out bool themeIcon
)
public:
virtual BitmapSource^ GetBitmapSourceForFile(
    String^ filename, 
    [OutAttribute] bool% themeIcon
) override
abstract GetBitmapSourceForFile : 
        filename:string * 
        themeIcon:bool byref -> BitmapSource  
override GetBitmapSourceForFile : 
        filename:string * 
        themeIcon:bool byref -> BitmapSource
public override function GetBitmapSourceForFile(
    filename : String, 
    themeIcon : boolean
) : BitmapSource

Parameters

Return Value

Type: System.Windows.Media.Imaging.BitmapSource
Icon if available, null otherwise.

.NET Framework Security

See Also

Reference

TeamFoundationIconStripHelperVs Class

Microsoft.VisualStudio.TeamFoundation Namespace