public STATURL QueryUrl(string pocsUrl, STATURL_QUERYFLAGS dwFlags) { STATURL lpSTATURL = new STATURL(); try { this.obj.QueryUrl(pocsUrl, dwFlags, ref lpSTATURL); return(lpSTATURL); } catch (FileNotFoundException) { return(lpSTATURL); } }
// Token: 0x06000503 RID: 1283 RVA: 0x0001273C File Offset: 0x0001093C public STATURL QueryUrl(string pocsUrl, STATURL_QUERYFLAGS dwFlags) { STATURL staturl = default(STATURL); STATURL result; try { this.obj.QueryUrl(pocsUrl, dwFlags, ref staturl); result = staturl; } catch (FileNotFoundException) { result = staturl; } return(result); }
/// <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> public STATURL QueryUrl(string pocsUrl, STATURL_QUERYFLAGS dwFlags) { var lpSTATURL = new STATURL(); try { //In this case, queried URL has been visited by the current user. obj.QueryUrl(pocsUrl, dwFlags, ref lpSTATURL); //lpSTATURL.pwcsUrl is NOT null; return(lpSTATURL); } catch (FileNotFoundException) { //Queried URL has not been visited by the current user. //lpSTATURL.pwcsUrl is set to null; return(lpSTATURL); } }
/// <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> public STATURL QueryUrl(string pocsUrl , STATURL_QUERYFLAGS dwFlags) { STATURL lpSTATURL = new STATURL(); try { //In this case, queried URL has been visited by the current user. obj.QueryUrl(pocsUrl, dwFlags, ref lpSTATURL); //lpSTATURL.pwcsUrl is NOT null; return lpSTATURL; } catch(FileNotFoundException) { //Queried URL has not been visited by the current user. //lpSTATURL.pwcsUrl is set to null; return lpSTATURL; } }