@@ -516,7 +516,7 @@ public static bool DoesClassImplementInterface(TypeInfoWrapper classTypeInfo, st
516516 /// <param name="projectName">VBA Project name, as declared in the VBE</param>
517517 /// <param name="className">Document class name, as declared in the VBA project</param>
518518 /// <param name="interfaceProgIDs">An array of interface names, preceeded by the library container name, e.g. "Excel._Worksheet"</param>
519- /// <param name="matchedIndex">on return indicates the index into interfaceProgIDs that matched</param>
519+ /// <param name="matchedIndex">on return indicates the index into interfaceProgIDs that matched, or -1 if no match </param>
520520 /// <returns>bool indicating whether the class does inherit one of the specified interfaces</returns>
521521 public static bool DoesClassImplementInterface ( IVBE ide , string projectName , string className , string [ ] interfaceProgIDs , out int matchedIndex )
522522 {
@@ -532,7 +532,7 @@ public static bool DoesClassImplementInterface(IVBE ide, string projectName, str
532532 /// <param name="project">Safe-com wrapper representing the VBE project</param>
533533 /// <param name="className">Document class name, as declared in the VBA project</param>
534534 /// <param name="interfaceProgIDs">An array of interface names, preceeded by the library container name, e.g. "Excel._Worksheet"</param>
535- /// <param name="matchedIndex">on return indicates the index into interfaceProgIDs that matched</param>
535+ /// <param name="matchedIndex">on return indicates the index into interfaceProgIDs that matched, or -1 if no match </param>
536536 /// <returns>bool indicating whether the class does inherit one of the specified interfaces</returns>
537537 public static bool DoesClassImplementInterface ( IVBProject project , string className , string [ ] interfaceProgIDs , out int matchedIndex )
538538 {
@@ -548,7 +548,7 @@ public static bool DoesClassImplementInterface(IVBProject project, string classN
548548 /// <param name="projectTypeLib">Low-level ITypeLib wrapper representing the VBA project</param>
549549 /// <param name="className">Document class name, as declared in the VBA project</param>
550550 /// <param name="interfaceProgIDs">An array of interface names, preceeded by the library container name, e.g. "Excel._Worksheet"</param>
551- /// <param name="matchedIndex">on return indicates the index into interfaceProgIDs that matched</param>
551+ /// <param name="matchedIndex">on return indicates the index into interfaceProgIDs that matched, or -1 if no match </param>
552552 /// <returns>bool indicating whether the class does inherit one of the specified interfaces</returns>
553553 public static bool DoesClassImplementInterface ( TypeLibWrapper projectTypeLib , string className , string [ ] interfaceProgIDs , out int matchedIndex )
554554 {
@@ -560,7 +560,7 @@ public static bool DoesClassImplementInterface(TypeLibWrapper projectTypeLib, st
560560 /// </summary>
561561 /// <param name="component">Safe-com wrapper representing the VBA component</param>
562562 /// <param name="interfaceProgIDs">An array of interface names, preceeded by the library container name, e.g. "Excel._Worksheet"</param>
563- /// <param name="matchedIndex">on return indicates the index into interfaceProgIDs that matched</param>
563+ /// <param name="matchedIndex">on return indicates the index into interfaceProgIDs that matched, or -1 if no match </param>
564564 /// <returns>bool indicating whether the class does inherit one of the specified interfaces</returns>
565565 public static bool DoesClassImplementInterface ( IVBComponent component , string [ ] interfaceProgIDs , out int matchedIndex )
566566 {
@@ -572,7 +572,7 @@ public static bool DoesClassImplementInterface(IVBComponent component, string[]
572572 /// </summary>
573573 /// <param name="classTypeInfo">Low-level ITypeInfo wrapper representing the VBA project</param>
574574 /// <param name="interfaceProgIDs">An array of interface names, preceeded by the library container name, e.g. "Excel._Worksheet"</param>
575- /// <param name="matchedIndex">on return indicates the index into interfaceProgIDs that matched</param>
575+ /// <param name="matchedIndex">on return indicates the index into interfaceProgIDs that matched, or -1 if no match </param>
576576 /// <returns>bool indicating whether the class does inherit one of the specified interfaces</returns>
577577 public static bool DoesClassImplementInterface ( TypeInfoWrapper classTypeInfo , string [ ] interfaceProgIDs , out int matchedIndex )
578578 {
@@ -651,7 +651,7 @@ public static bool DoesClassImplementInterface(TypeInfoWrapper classTypeInfo, Gu
651651 /// <param name="projectName">VBA Project name, as declared in the VBE</param>
652652 /// <param name="className">Document class name, as declared in the VBA project</param>
653653 /// <param name="interfaceIIDs">An array of interface IIDs to check against</param>
654- /// <param name="matchedIndex">on return indicates the index into interfaceIIDs that matched</param>
654+ /// <param name="matchedIndex">on return indicates the index into interfaceIIDs that matched, or -1 if no match </param>
655655 /// <returns>bool indicating whether the class does inherit one of the specified interfaces</returns>
656656 public static bool DoesClassImplementInterface ( IVBE ide , string projectName , string className , Guid [ ] interfaceIIDs , out int matchedIndex )
657657 {
@@ -667,7 +667,7 @@ public static bool DoesClassImplementInterface(IVBE ide, string projectName, str
667667 /// <param name="project">Safe-com wrapper representing the VBA project</param>
668668 /// <param name="className">Document class name, as declared in the VBA project</param>
669669 /// <param name="interfaceIIDs">An array of interface IIDs to check against</param>
670- /// <param name="matchedIndex">on return indicates the index into interfaceIIDs that matched</param>
670+ /// <param name="matchedIndex">on return indicates the index into interfaceIIDs that matched, or -1 if no match </param>
671671 /// <returns>bool indicating whether the class does inherit one of the specified interfaces</returns>
672672 public static bool DoesClassImplementInterface ( IVBProject project , string className , Guid [ ] interfaceIIDs , out int matchedIndex )
673673 {
@@ -683,7 +683,7 @@ public static bool DoesClassImplementInterface(IVBProject project, string classN
683683 /// <param name="projectTypeLib">Low-level ITypeLib wrapper representing the VBA project</param>
684684 /// <param name="className">Document class name, as declared in the VBA project</param>
685685 /// <param name="interfaceIIDs">An array of interface IIDs to check against</param>
686- /// <param name="matchedIndex">on return indicates the index into interfaceIIDs that matched</param>
686+ /// <param name="matchedIndex">on return indicates the index into interfaceIIDs that matched, or -1 if no match </param>
687687 /// <returns>bool indicating whether the class does inherit one of the specified interfaces</returns>
688688 public static bool DoesClassImplementInterface ( TypeLibWrapper projectTypeLib , string className , Guid [ ] interfaceIIDs , out int matchedIndex )
689689 {
@@ -695,7 +695,7 @@ public static bool DoesClassImplementInterface(TypeLibWrapper projectTypeLib, st
695695 /// </summary>
696696 /// <param name="component">Safe-com wrapper representing the VBA component</param>
697697 /// <param name="interfaceIIDs">An array of interface IIDs to check against</param>
698- /// <param name="matchedIndex">on return indicates the index into interfaceIIDs that matched</param>
698+ /// <param name="matchedIndex">on return indicates the index into interfaceIIDs that matched, or -1 if no match </param>
699699 /// <returns>bool indicating whether the class does inherit one of the specified interfaces</returns>
700700 public static bool DoesClassImplementInterface ( IVBComponent component , Guid [ ] interfaceIIDs , out int matchedIndex )
701701 {
@@ -707,7 +707,7 @@ public static bool DoesClassImplementInterface(IVBComponent component, Guid[] in
707707 /// </summary>
708708 /// <param name="classTypeInfo">Low-level ITypeInfo wrapper representing the VBA project</param>
709709 /// <param name="interfaceIIDs">An array of interface IIDs to check against</param>
710- /// <param name="matchedIndex">on return indicates the index into interfaceIIDs that matched</param>
710+ /// <param name="matchedIndex">on return indicates the index into interfaceIIDs that matched, or -1 if no match </param>
711711 /// <returns>bool indicating whether the class does inherit one of the specified interfaces</returns>
712712 public static bool DoesClassImplementInterface ( TypeInfoWrapper classTypeInfo , Guid [ ] interfaceIIDs , out int matchedIndex )
713713 {
@@ -843,14 +843,14 @@ public static string GetDocumentClassControlType(TypeInfoWrapper documentClass,
843843 {
844844 return documentClass . GetSafeImplementedTypeInfo ( 0 ) . GetControlType ( controlName ) . GetProgID ( ) ;
845845 }
846-
846+
847847 /// <summary>
848848 /// Retreives the TYPEFLAGS of a VBA component (e.g. module/class), providing flags like TYPEFLAG_FCANCREATE, TYPEFLAG_FPREDECLID
849849 /// </summary>
850850 /// <param name="ide">Safe-com wrapper representing the VBE</param>
851851 /// <param name="projectName">The VBA project name</param>
852852 /// <param name="componentName">The name of the component (module/class etc) to get flags for</param>
853- /// <returns>bool indicating success/failure. </returns>
853+ /// <returns>ComTypes.TYPEFLAGS flags from the ITypeInfo </returns>
854854 public static ComTypes . TYPEFLAGS GetComponentTypeFlags ( IVBE ide , string projectName , string componentName )
855855 {
856856 using ( var typeLibs = new VBETypeLibsAccessor ( ide ) )
@@ -864,7 +864,7 @@ public static ComTypes.TYPEFLAGS GetComponentTypeFlags(IVBE ide, string projectN
864864 /// </summary>
865865 /// <param name="project">Safe-com wrapper representing the VBA project</param>
866866 /// <param name="componentName">The name of the component (module/class etc) to get flags for</param>
867- /// <returns>bool indicating success/failure. </returns>
867+ /// <returns>ComTypes.TYPEFLAGS flags from the ITypeInfo </returns>
868868 public static ComTypes . TYPEFLAGS GetComponentTypeFlags ( IVBProject project , string componentName )
869869 {
870870 using ( var typeLib = TypeLibWrapper . FromVBProject ( project ) )
@@ -878,7 +878,7 @@ public static ComTypes.TYPEFLAGS GetComponentTypeFlags(IVBProject project, strin
878878 /// </summary>
879879 /// <param name="projectTypeLib">Low-level ITypeLib wrapper representing the VBA project</param>
880880 /// <param name="componentName">The name of the component (module/class etc) to get flags for</param>
881- /// <returns>bool indicating success/failure. </returns>
881+ /// <returns>ComTypes.TYPEFLAGS flags from the ITypeInfo </returns>
882882 public static ComTypes . TYPEFLAGS GetComponentTypeFlags ( TypeLibWrapper projectTypeLib , string componentName )
883883 {
884884 return GetComponentTypeFlags ( projectTypeLib . TypeInfos . Get ( componentName ) ) ;
@@ -888,7 +888,7 @@ public static ComTypes.TYPEFLAGS GetComponentTypeFlags(TypeLibWrapper projectTyp
888888 /// Retreives the TYPEFLAGS of a VBA component (e.g. module/class), providing flags like TYPEFLAG_FCANCREATE, TYPEFLAG_FPREDECLID
889889 /// </summary>
890890 /// <param name="component">Safe-com wrapper representing the VBA component to get flags for</param>
891- /// <returns>bool indicating success/failure. </returns>
891+ /// <returns>ComTypes.TYPEFLAGS flags from the ITypeInfo </returns>
892892 public static ComTypes . TYPEFLAGS GetComponentTypeFlags ( IVBComponent component )
893893 {
894894 return GetComponentTypeFlags ( component . ParentProject , component . Name ) ;
@@ -898,7 +898,7 @@ public static ComTypes.TYPEFLAGS GetComponentTypeFlags(IVBComponent component)
898898 /// Retreives the TYPEFLAGS of a VBA component (e.g. module/class), providing flags like TYPEFLAG_FCANCREATE, TYPEFLAG_FPREDECLID
899899 /// </summary>
900900 /// <param name="componentTypeInfo">Low-level ITypeInfo wrapper representing the VBA component to get flags for</param>
901- /// <returns>bool indicating success/failure. </returns>
901+ /// <returns>ComTypes.TYPEFLAGS flags from the ITypeInfo </returns>
902902 public static ComTypes . TYPEFLAGS GetComponentTypeFlags ( TypeInfoWrapper componentTypeInfo )
903903 {
904904 return componentTypeInfo . Flags ;
0 commit comments