ExtensionMethods.ToStringEx Method

Definition

Overloads

ToStringEx(ImageMoniker)

Converts an ImageMoniker to a string

ToStringEx(ImageMoniker, String)

Converts an ImageMoniker to a string

ToStringEx(ImageMoniker)

Converts an ImageMoniker to a string

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ ToStringEx(Microsoft::VisualStudio::Imaging::Interop::ImageMoniker moniker);
public static string ToStringEx (this Microsoft.VisualStudio.Imaging.Interop.ImageMoniker moniker);
static member ToStringEx : Microsoft.VisualStudio.Imaging.Interop.ImageMoniker -> string
<Extension()>
Public Function ToStringEx (moniker As ImageMoniker) As String

Parameters

moniker
ImageMoniker

The moniker to convert

Returns

The string version of the moniker

Applies to

ToStringEx(ImageMoniker, String)

Converts an ImageMoniker to a string

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ ToStringEx(Microsoft::VisualStudio::Imaging::Interop::ImageMoniker moniker, System::String ^ format);
public static string ToStringEx (this Microsoft.VisualStudio.Imaging.Interop.ImageMoniker moniker, string format);
static member ToStringEx : Microsoft.VisualStudio.Imaging.Interop.ImageMoniker * string -> string
<Extension()>
Public Function ToStringEx (moniker As ImageMoniker, format As String) As String

Parameters

moniker
ImageMoniker

The moniker to convert

format
String

The format specifier. It can be "G", "A", "C", or "F"

Returns

The string version of the moniker

Applies to