Redigera

Dela via


UCOMIMoniker.ParseDisplayName Method

Definition

Reads as many characters of the specified display name as it understands and builds a moniker corresponding to the portion read.

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

Parameters

pbc
UCOMIBindCtx

A reference to the bind context to be used in this binding operation.

pmkToLeft
UCOMIMoniker

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

pszDisplayName
String

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

pchEaten
Int32

On successful return, contains the number of characters in pszDisplayName that were consumed in this step.

ppmkOut
UCOMIMoniker

Reference to the moniker that was built from pszDisplayName.

Remarks

For more information about IMoniker::ParseDisplayName, see the MSDN Library.

Applies to