getTypeLibUUIDs | R Documentation |
This function iterates over all the elements in the type library and retrieves the GUID for each. These are labelled by the human-readable name of the element.
getTypeLibUUIDs(lib)
lib |
an object of class |
A character vector with as many elements as there are elements
in the type library. (See length,ITypeLib-method
.)
Each value is a UUID, and the corresponding element in the
names vector comes from names(lib)
, and gives the
human-readable form of the identifier for that element of the type library.
This is a useful way to map from GUID to type library element.
This is needed, for example, when matching connection points
for registering for events to particular interfaces. The connection
point gives us the UUID and we map this to an interface using
this function.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://msdn.microsoft.com/library http://www.omegahat.org/RWinTypeLibs
names,ITypeLib-method
[[,ITypeLib-method
## Not run:
library(RDCOMClient)
e = COMCreate("Excel.Application")
lib = LoadTypeLibrary(e)
getTypeLibUUIDs(lib)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.