![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
GetString Method (field)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► GetString(Int32)
Gets a field value as a string.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public string GetString( int field )
Public Function GetString ( field As Integer ) As String
public: String^ GetString( int field )
member GetString : field : int -> string
![](collapse_all.gif)
- field (Int32)
- Specifies the field to retrieve.
![](collapse_all.gif)
String
String value of the field, or an empty string if the field is null.
String value of the field, or an empty string if the field is null.
![](collapse_all.gif)
Win32 MSI API: MsiRecordGetString
![](collapse_all.gif)
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The field is less than 0 or greater than the
number of fields in the Record. |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)