IUri Interface
Exposes methods and properties used to parse and build Uniform Resource Identifiers (URIs) in Windows Internet Explorer 7.
IUri Members
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 Not implemented. 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.
Interface Information
Stock Implementation urlmon.dll Custom Implementation No Inherits from IUnknown Header and IDL files urlmon.h, urlmon.idl Minimum availability Internet Explorer 7 Minimum operating systems Windows XP SP2, Windows Server 2003 SP1
See Also
CreateUri