IVsImageService.GetIconForFileEx Method

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
  • iconSource
    Type: UInt32%

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject

.NET Framework Security

See Also

Reference

IVsImageService Interface

Microsoft.VisualStudio.Shell.Interop Namespace