public NetOffice.OutlookApi.Search AdvancedSearch(string scope, object filter, object searchSubFolders) { object[] paramsArray = Invoker.ValidateParamsArray(scope, filter, searchSubFolders); object returnItem = Invoker.MethodReturn(this, "AdvancedSearch", paramsArray); NetOffice.OutlookApi.Search newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.OutlookApi.Search.LateBindingApiWrapperType) as NetOffice.OutlookApi.Search; return(newObject); }
public static NetOffice.OutlookApi.Search AdvancedSearch(string scope) { object[] paramsArray = Invoker.ValidateParamsArray(scope); object returnItem = Invoker.MethodReturn(_instance, "AdvancedSearch", paramsArray); NetOffice.OutlookApi.Search newObject = Factory.CreateKnownObjectFromComProxy(_instance, returnItem, NetOffice.OutlookApi.Search.LateBindingApiWrapperType) as NetOffice.OutlookApi.Search; return(newObject); }
public void AdvancedSearchStopped([In, MarshalAs(UnmanagedType.IDispatch)] object searchObject) { if (!Validate("AdvancedSearchStopped")) { Invoker.ReleaseParamsArray(searchObject); return; } NetOffice.OutlookApi.Search newSearchObject = Factory.CreateKnownObjectFromComProxy <NetOffice.OutlookApi.Search>(EventClass, searchObject, NetOffice.OutlookApi.Search.LateBindingApiWrapperType); object[] paramsArray = new object[1]; paramsArray[0] = newSearchObject; EventBinding.RaiseCustomEvent("AdvancedSearchStopped", ref paramsArray); }
public void AdvancedSearchStopped([In, MarshalAs(UnmanagedType.IDispatch)] object searchObject) { Delegate[] recipients = _eventBinding.GetEventRecipients("AdvancedSearchStopped"); if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0)) { Invoker.ReleaseParamsArray(searchObject); return; } NetOffice.OutlookApi.Search newSearchObject = Factory.CreateObjectFromComProxy(_eventClass, searchObject) as NetOffice.OutlookApi.Search; object[] paramsArray = new object[1]; paramsArray[0] = newSearchObject; _eventBinding.RaiseCustomEvent("AdvancedSearchStopped", ref paramsArray); }