Пример #1
0
        public NetOffice.OutlookApi.UserDefinedProperty Find(string name)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(name);
            object   returnItem  = Invoker.MethodReturn(this, "Find", paramsArray);

            NetOffice.OutlookApi.UserDefinedProperty newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.OutlookApi.UserDefinedProperty.LateBindingApiWrapperType) as NetOffice.OutlookApi.UserDefinedProperty;
            return(newObject);
        }
Пример #2
0
        public NetOffice.OutlookApi.UserDefinedProperty Add(string name, NetOffice.OutlookApi.Enums.OlUserPropertyType type, object displayFormat)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(name, type, displayFormat);
            object   returnItem  = Invoker.MethodReturn(this, "Add", paramsArray);

            NetOffice.OutlookApi.UserDefinedProperty newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.OutlookApi.UserDefinedProperty.LateBindingApiWrapperType) as NetOffice.OutlookApi.UserDefinedProperty;
            return(newObject);
        }