IVsImageService2::TryParseImageMoniker Method (String^, ImageMoniker)

Visual Studio 2015
 

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")

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime (in Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll)

bool TryParseImageMoniker(
	String^ monikerAsString,
	[OutAttribute] ImageMoniker% moniker
)

Parameters

monikerAsString
Type: System::String^

The moniker string.

moniker
Type: Microsoft.VisualStudio.Imaging.Interop::ImageMoniker

[out] The parsed moniker.

Return Value

Type: System::Boolean

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

Return to top
Show: