Deployment Tools Foundation
GetString Method (field)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► GetString(Int32)
Gets a field value as a string.
Declaration Syntax
Parameters
- field (Int32)
- Specifies the field to retrieve.
Return Value
String value of the field, or an empty string if the field is null.
Remarks
Win32 MSI API: MsiRecordGetString
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The field is less than 0 or greater than the
number of fields in the Record. |