다음을 통해 공유


IUri interface

Exposes methods and properties used to parse and build Uniform Resource Identifiers (URIs) in Windows Internet Explorer 7.

Members

The IUri interface inherits from the IUnknown interface. IUri also has these types of members:

  • Methods

Methods

The IUri interface has these methods.

Method Description
GetAbsoluteUri

Returns the entire canonicalized URI.

GetAuthority

Returns the user name, password, domain, and port.

GetDisplayUri

Returns a URI that can be used for display purposes.

GetDomain

Returns the domain name (including top-level domain) only.

GetExtension

Returns the file name extension of the resource.

GetFragment

Returns the text following a fragment marker (#), including the fragment marker itself.

GetHost

Returns the fully qualified domain name.

GetHostType

Returns a value from the Uri_HOST_TYPE enumeration.

GetPassword

Returns the password, as parsed from the URI.

GetPath

Returns the path and resource name.

GetPathAndQuery

Returns the path, resource name, and query string.

GetPort

Returns the port number.

GetProperties

Returns a bitmap of flags that indicate which URI properties have been set.

GetPropertyBSTR

Returns the specified URI property value in a new BSTR.

GetPropertyDWORD

Returns the specified numeric URI property value.

GetPropertyLength

Returns the string length of the specified URI property. Call this function if you want the length but don't necessarily want to create a new BSTR.

GetQuery

Returns the query string.

GetRawUri

Returns the entire original URI input string.

GetScheme

Returns a value from the URL_SCHEME enumeration.

GetSchemeName

Returns the protocol scheme name.

GetUserInfo

Returns the user name and password, as parsed from the URI.

GetUserName

Returns the user name as parsed from the URI.

GetZone
HasProperty

Determines if the specified property exists in the URI.

IsEqual

Compares the logical content of two IUri objects.

 

Remarks

Once an IUri has been created, it cannot change its properties. Property values do not change between calls to the same object.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003 with SP1

Product

Internet Explorer 7

Header

Urlmon.h

IDL

Urlmon.idl

DLL

Urlmon.dll

See also

CreateUri