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
filename
Type: System.StringThe filename.
- themeIcon
Type: System.Boolean%
Return Value
Type: System.Windows.Media.Imaging.BitmapSource
Icon if available, null otherwise.
.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.