public void Set(SessionSearchGetSearchResultCountOptions other) { if (other != null) { m_ApiVersion = SessionSearch.SessionsearchGetsearchresultcountApiLatest; } }
/// <summary> /// Get the number of search results found by the search parameters in this search /// </summary> /// <param name="options">Options associated with the search count</param> /// <returns> /// return the number of search results found by the query or 0 if search is not complete /// </returns> public uint GetSearchResultCount(SessionSearchGetSearchResultCountOptions options) { System.IntPtr optionsAddress = new System.IntPtr(); Helper.TryMarshalSet <SessionSearchGetSearchResultCountOptionsInternal, SessionSearchGetSearchResultCountOptions>(ref optionsAddress, options); var funcResult = EOS_SessionSearch_GetSearchResultCount(InnerHandle, optionsAddress); Helper.TryMarshalDispose(ref optionsAddress); return(funcResult); }