C# Class IfacesEnumsStructsClasses.LoadHTMLMoniker

For loading html into document while having the ability to set the baseUrl Only two methods of IMoniker are called BindToStorage and GetDisplayName In BindToStorage, we pass a ref to our stream object to be used for loading page data. In GetDisplayName, we pass our baseUrl to MSHTML to be used. BaseUrl must be in form of http://www.sitename.com string html = "

Second link

1 This HTML content is being loaded from a stream.

2 This HTML content is being loaded from a stream.

Second link

"; m_CurWB.LoadHtmlIntoBrowser(html, "http://www.google.com");
Inheritance: IMoniker, IAsyncMoniker
Show file Open project: mcorrientes/Web-Security-Toolset Class Usage Examples

Public Methods

Method Description
InitLoader ( string sContent, string sBaseUrl ) : void

Private Methods

Method Description
IMoniker ( ) : int
IMoniker ( IBindCtx pbc, IMoniker pmkToLeft, IMoniker pmkNewlyRunning ) : int
IMoniker ( IMoniker pmkOtherMoniker ) : int
IMoniker ( int &pdwMksys ) : int
IMoniker ( System.Guid &pClassID ) : void
IMoniker ( IBindCtx pbc, IMoniker pmkToLeft, System.Guid &riidResult, object &ppvResult ) : void
IMoniker ( IBindCtx pbc, IMoniker pmkToLeft, System &pFileTime ) : void
IMoniker ( IBindCtx pbc, IMoniker pmkToLeft, string &ppszDisplayName ) : void
IMoniker ( IBindCtx pbc, IMoniker pmkToLeft, string pszDisplayName, int &pchEaten, IMoniker &ppmkOut ) : void
IMoniker ( IBindCtx pbc, int dwReduceHowFar, IMoniker &ppmkToLeft, IMoniker &ppmkReduced ) : void
IMoniker ( IMoniker &ppmk ) : void
IMoniker ( IMoniker pmkOther, IMoniker &ppmkPrefix ) : void
IMoniker ( IMoniker pmkRight, bool fOnlyIfNotGeneric, IMoniker &ppmkComposite ) : void
IMoniker ( IStream pStm ) : void
IMoniker ( IStream pStm, bool fClearDirty ) : void
IMoniker ( bool fForward, IEnumMoniker &ppenumMoniker ) : void
IMoniker ( int &pdwHash ) : void
IMoniker ( long &pcbSize ) : void

Method Details

InitLoader() public method

public InitLoader ( string sContent, string sBaseUrl ) : void
sContent string
sBaseUrl string
return void