summaryrefslogtreecommitdiffstats
path: root/Doc/library/msilib.rst
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-06-02 08:40:06 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-06-02 08:40:06 (GMT)
commitffe62ed46d93685353e0011ea1cf06169e2e9e06 (patch)
treeb88e5a0621c418381116bb7abeefc441b1adf570 /Doc/library/msilib.rst
parent137d824148f9322c741b16d90ada72fc558b9a1c (diff)
downloadcpython-ffe62ed46d93685353e0011ea1cf06169e2e9e06.zip
cpython-ffe62ed46d93685353e0011ea1cf06169e2e9e06.tar.gz
cpython-ffe62ed46d93685353e0011ea1cf06169e2e9e06.tar.bz2
Patch #2125: Add GetInteger and GetString methods for
msilib.Record objects.
Diffstat (limited to 'Doc/library/msilib.rst')
-rw-r--r--Doc/library/msilib.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Doc/library/msilib.rst b/Doc/library/msilib.rst
index a1e5e98..fd66600 100644
--- a/Doc/library/msilib.rst
+++ b/Doc/library/msilib.rst
@@ -264,6 +264,18 @@ Record Objects
:cfunc:`MsiRecordGetFieldCount`.
+.. method:: Record.GetInteger(field)
+
+ Return the value of *field* as an integer where possible. *field* must
+ be an integer.
+
+
+.. method:: Record.GetString(field)
+
+ Return the value of *field* as a string where possible. *field* must
+ be an integer.
+
+
.. method:: Record.SetString(field, value)
Set *field* to *value* through :cfunc:`MsiRecordSetString`. *field* must be an
@@ -543,3 +555,4 @@ definitions. Currently, these definitions are based on MSI version 2.0.
This module contains definitions for the UIText and ActionText tables, for the
standard installer actions.
+