Compartir a través de


IVsImageService2.TryParseImageMoniker(String, ImageMoniker) Method

Definition

Parses a moniker string. The moniker can be of the form "{guid};id" or the name of a well-known moniker (e.g. "KnownMonikers.FolderClosed")

public:
 bool TryParseImageMoniker(System::String ^ monikerAsString, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Imaging::Interop::ImageMoniker % moniker);
public bool TryParseImageMoniker (string monikerAsString, out Microsoft.VisualStudio.Imaging.Interop.ImageMoniker moniker);
abstract member TryParseImageMoniker : string * ImageMoniker -> bool
Public Function TryParseImageMoniker (monikerAsString As String, ByRef moniker As ImageMoniker) As Boolean

Parameters

monikerAsString
String

The moniker string.

moniker
ImageMoniker

[out] The parsed moniker.

Returns

True if the moniker was successfully parsed, false if not.

Applies to