Share via


IVsImageService.Get(String) Method

Definition

Caution

Use IVsImageService2.GetImage instead

Gets the icon with the specified name.

public:
 Microsoft::VisualStudio::Shell::Interop::IVsUIObject ^ Get(System::String ^ Name);
public:
 Microsoft::VisualStudio::Shell::Interop::IVsUIObject ^ Get(Platform::String ^ Name);
Microsoft::VisualStudio::Shell::Interop::IVsUIObject Get(std::wstring const & Name);
public Microsoft.VisualStudio.Shell.Interop.IVsUIObject Get (string Name);
[System.Obsolete("Use IVsImageService2.GetImage instead")]
public Microsoft.VisualStudio.Shell.Interop.IVsUIObject Get (string Name);
abstract member Get : string -> Microsoft.VisualStudio.Shell.Interop.IVsUIObject
[<System.Obsolete("Use IVsImageService2.GetImage instead")>]
abstract member Get : string -> Microsoft.VisualStudio.Shell.Interop.IVsUIObject
Public Function Get (Name As String) As IVsUIObject

Parameters

Name
String

[in] The name of the icon.

Returns

The icon object. Returns null if the icon does not exist.

Attributes

Applies to