ITypeLibInfo::Enums Property
Visual Studio 2015
Gets the enumerations associated with the type library.
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Property Value
Type: System::Object^An object containing a collection of enumerations associated with the type library.
// From the Visual C++ Member Variable wizard. function GenerateActiveXControlClassEnums(oTypeLib) { var nCount = oTypeLib.Enums.Count; var strEnumText = ""; for (i = 1; i <= nCount; i++) { var oEnum = oTypeLib.Enums.item(i); strEnumText += oEnum.Body; } return strEnumText; }
Show: