ExtensionMethods.ToStringEx 方法

定義

多載

ToStringEx(ImageMoniker)

將 ImageMoniker 轉換為字串

ToStringEx(ImageMoniker, String)

將 ImageMoniker 轉換為字串

ToStringEx(ImageMoniker)

將 ImageMoniker 轉換為字串

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

參數

moniker
ImageMoniker

要轉換的標記

傳回

String

標記的字串版本

適用於

ToStringEx(ImageMoniker, String)

將 ImageMoniker 轉換為字串

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

參數

moniker
ImageMoniker

要轉換的標記

format
String

格式規範。 它可以是 "G"、"A"、"C" 或 "F"

傳回

String

標記的字串版本

適用於