IUriBuilderFactory interface
Exposes methods to instantiate and initialize an IUriBuilder object.
Members
The IUriBuilderFactory interface inherits from the IUnknown interface. IUriBuilderFactory also has these types of members:
Methods
The IUriBuilderFactory interface has these methods.
| Method | Description |
|---|---|
| CreateInitializedIUriBuilder |
Returns an IUriBuilder that can operate on this object and initializes it with the current IUri. |
| CreateIUriBuilder |
Returns an IUriBuilder that can operate on this object, but which contains no IUri. |
Remarks
The following example demonstrates how to retrieve an IUriBuilderFactory interface from the base IUri pointer, and use it to instantiate an IUriBuilder object.
IUriBuilder pIUriBuilder = NULL;
IUriBuilderFactory *pubfTemp = NULL;
HRESULT hr = pIUri->QueryInterface(
IID_IUriBuilderFactory,
(void **)&pubfTemp);
if (SUCCEEDED(hr))
{
hr = pubfTemp->CreateInitializedIUriBuilder(
0L, 0L,
&pIUriBuilder);
pubfTemp->Release();
}
if (SUCCEEDED(hr))
{
// use it
}
if (pIUriBuilder)
pIUriBuilder->Release();
Requirements
|
Minimum supported client |
Windows XP with SP2 |
|---|---|
|
Minimum supported server |
Windows Server 2003 |
|
Product |
Internet Explorer 7 |
|
Header |
|
|
IDL |
|
|
DLL |
|
Show: