Επεξεργασία

Κοινή χρήση μέσω


IMoniker.ParseDisplayName(IBindCtx, IMoniker, String, Int32, IMoniker) Method

Definition

Reads as many characters of the specified display name as the ParseDisplayName(IBindCtx, IMoniker, String, Int32, IMoniker) understands and builds a moniker corresponding to the portion read.

public:
 void ParseDisplayName(System::Runtime::InteropServices::ComTypes::IBindCtx ^ pbc, System::Runtime::InteropServices::ComTypes::IMoniker ^ pmkToLeft, System::String ^ pszDisplayName, [Runtime::InteropServices::Out] int % pchEaten, [Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::IMoniker ^ % ppmkOut);
public void ParseDisplayName (System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker pmkToLeft, string pszDisplayName, out int pchEaten, out System.Runtime.InteropServices.ComTypes.IMoniker ppmkOut);
abstract member ParseDisplayName : System.Runtime.InteropServices.ComTypes.IBindCtx * System.Runtime.InteropServices.ComTypes.IMoniker * string * int * IMoniker -> unit
Public Sub ParseDisplayName (pbc As IBindCtx, pmkToLeft As IMoniker, pszDisplayName As String, ByRef pchEaten As Integer, ByRef ppmkOut As IMoniker)

Parameters

pbc
IBindCtx

A reference to the bind context to use in this binding operation.

pmkToLeft
IMoniker

A reference to the moniker that has been built from the display name up to this point.

pszDisplayName
String

A reference to the string containing the remaining display name to parse.

pchEaten
Int32

When this method returns, contains the number of characters that were consumed in parsing pszDisplayName. This parameter is passed uninitialized.

ppmkOut
IMoniker

When this method returns, contains a reference to the moniker that was built from pszDisplayName. This parameter is passed uninitialized.

Remarks

For more information, see IMoniker::ParseDisplayName method.

Applies to