Interface ILibrarySource
Where the descriptions of libraries are found, by the name of the library.
public interface ILibrarySource
Properties
Names
The names of the libraries the source has descriptions of; none for a source that cannot say.
IEnumerable<string> Names { get; }
Property Value
Methods
TryGet(string, out LibraryDescription?)
Gets the description of a library.
bool TryGet(string name, out LibraryDescription? description)
Parameters
namestringThe name of the library; the case of it does not matter, as it does not in VBA.
descriptionLibraryDescriptionThe description.
Returns
Exceptions
- InvalidDataException
The source has one, and it cannot be read.
TryGetByGuid(Guid, out LibraryDescription?)
Gets the description of the library a type library's identifier names: the library a .vbp references by its {GUID}.
bool TryGetByGuid(Guid guid, out LibraryDescription? description)
Parameters
guidGuidThe identifier the machine gave the library (Guid).
descriptionLibraryDescriptionThe description.