IVsImageService2.GetIconForFileEx(String, __VSUIDATAFORMAT, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use IVsImageService2.GetImageMonikerForFile instead
public:
Microsoft::VisualStudio::Shell::Interop::IVsUIObject ^ GetIconForFileEx(System::String ^ filename, Microsoft::VisualStudio::Shell::Interop::__VSUIDATAFORMAT desiredFormat, [Runtime::InteropServices::Out] System::UInt32 % iconSource);
public Microsoft.VisualStudio.Shell.Interop.IVsUIObject GetIconForFileEx (string filename, Microsoft.VisualStudio.Shell.Interop.__VSUIDATAFORMAT desiredFormat, out uint iconSource);
[System.Obsolete("Use IVsImageService2.GetImageMonikerForFile instead")]
public Microsoft.VisualStudio.Shell.Interop.IVsUIObject GetIconForFileEx (string filename, Microsoft.VisualStudio.Shell.Interop.__VSUIDATAFORMAT desiredFormat, out uint iconSource);
abstract member GetIconForFileEx : string * Microsoft.VisualStudio.Shell.Interop.__VSUIDATAFORMAT * uint32 -> Microsoft.VisualStudio.Shell.Interop.IVsUIObject
[<System.Obsolete("Use IVsImageService2.GetImageMonikerForFile instead")>]
abstract member GetIconForFileEx : string * Microsoft.VisualStudio.Shell.Interop.__VSUIDATAFORMAT * uint32 -> Microsoft.VisualStudio.Shell.Interop.IVsUIObject
Public Function GetIconForFileEx (filename As String, desiredFormat As __VSUIDATAFORMAT, ByRef iconSource As UInteger) As IVsUIObject
Parameters
- filename
- String
- desiredFormat
- __VSUIDATAFORMAT
- iconSource
- UInt32
Returns
Returns IVsUIObject.
Implements
- Attributes