IVsImageService2.TryParseImageMoniker(String, ImageMoniker) 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.
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.