UrlHistoryLibrary/UrlHistoryWrapper.cs
/// <summary>
///Queries the history and reports whether the URL passed as the pocsUrl parameter has been visited by the current user. 
/// </summary>
/// <param name="pocsUrl">the string of the URL to querythe string of the URL to query.</param>
/// <param name="dwFlags">STATURL_QUERYFLAGS Enumeration
/// <example><c>STATURL_QUERYFLAGS.STATURL_QUERYFLAG_TOPLEVEL</c></example></param>
/// <returns>Returns STATURL structure that received additional URL history information. If the returned  STATURL's pwcsUrl is not null, Queried URL has been visited by the current user.
/// </returns>
Queries the history and reports whether the URL passed as the pocsUrl parameter has been visited by the current user.
Queries the history and reports whether the URL passed as the pocsUrl parameter has been visited by the current user .
public STATURL QueryUrl(string pocsUrl , STATURL_QUERYFLAGS dwFlags)
		{
			STATURL lpSTATURL = new STATURL();
			try
			{
				obj.QueryUrl(pocsUrl, dwFlags, ref lpSTATURL);
				return lpSTATURL;
			}
			catch(FileNotFoundException)
			{
				return lpSTATURL;
			}
		}
public STATURL QueryUrl ( string pocsUrl , STATURL_QUERYFLAGS dwFlags ) { STATURL lpSTATURL = new STATURL ( ) ; try { obj . QueryUrl ( pocsUrl , dwFlags , ref lpSTATURL ) ; return lpSTATURL ; } catch ( FileNotFoundException ) { return lpSTATURL ; } }
Queries the history and reports whether the URL passed as the pocsUrl parameter has been visited by the current user.
Queries the history and reports whether the URL passed as the pocsUrl parameter has been visited by the current user .
//In this case, queried URL has been visited by the current user. //lpSTATURL.pwcsUrl is NOT null; //Queried URL has not been visited by the current user. //lpSTATURL.pwcsUrl is set to null;
Returns STATURL structure that received additional URL history information. If the returned  STATURL's pwcsUrl is not null, Queried URL has been visited by the current user.
Returns STATURL structure that received additional URL history information . If the returned STATURL ' s pwcsUrl is not null Queried URL has been visited by the current user .
pocsUrl
string
the string of the URL to querythe string of the URL to query.
the string of the URL to querythe string of the URL to query .
dwFlags
STATURL_QUERYFLAGS
None