public NetOffice.WordApi.StyleSheet Add(string fileName, NetOffice.WordApi.Enums.WdStyleSheetLinkType linkType, string title, NetOffice.WordApi.Enums.WdStyleSheetPrecedence precedence) { object[] paramsArray = Invoker.ValidateParamsArray(fileName, linkType, title, precedence); object returnItem = Invoker.MethodReturn(this, "Add", paramsArray); NetOffice.WordApi.StyleSheet newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.WordApi.StyleSheet.LateBindingApiWrapperType) as NetOffice.WordApi.StyleSheet; return(newObject); }
public NetOffice.WordApi.StyleSheet Add(string fileName, NetOffice.WordApi.Enums.WdStyleSheetLinkType linkType, string title, NetOffice.WordApi.Enums.WdStyleSheetPrecedence precedence) { return(Factory.ExecuteKnownReferenceMethodGet <NetOffice.WordApi.StyleSheet>(this, "Add", NetOffice.WordApi.StyleSheet.LateBindingApiWrapperType, fileName, linkType, title, precedence)); }
public virtual NetOffice.WordApi.StyleSheet Add(string fileName, NetOffice.WordApi.Enums.WdStyleSheetLinkType linkType, string title, NetOffice.WordApi.Enums.WdStyleSheetPrecedence precedence) { return(InvokerService.InvokeInternal.ExecuteKnownReferenceMethodGet <NetOffice.WordApi.StyleSheet>(this, "Add", typeof(NetOffice.WordApi.StyleSheet), fileName, linkType, title, precedence)); }