Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Function GetIconForFileEx ( _
    filename As String, _
    desiredFormat As __VSUIDATAFORMAT, _
    <OutAttribute> ByRef iconSource As UInteger _
) As IVsUIObject
IVsUIObject GetIconForFileEx(
    string filename,
    __VSUIDATAFORMAT desiredFormat,
    out uint iconSource
)
IVsUIObject^ GetIconForFileEx(
    [InAttribute] String^ filename, 
    [InAttribute] __VSUIDATAFORMAT desiredFormat, 
    [OutAttribute] unsigned int% iconSource
)
abstract GetIconForFileEx : 
        filename:string * 
        desiredFormat:__VSUIDATAFORMAT * 
        iconSource:uint32 byref -> IVsUIObject
function GetIconForFileEx(
    filename : String, 
    desiredFormat : __VSUIDATAFORMAT, 
    iconSource : uint
) : IVsUIObject
Parameters
- filename
 Type: String
- desiredFormat
 Type: Microsoft.VisualStudio.Shell.Interop.__VSUIDATAFORMAT
- iconSource
 Type: UInt32%
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject
.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.