![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
GetString Method (fieldName)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► GetString(String)
Gets a field value as a string.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ |
public string GetString( string fieldName )
Public Function GetString ( fieldName As String ) As String
public: String^ GetString( String^ fieldName )
![](collapse_all.gif)
- fieldName (String)
- 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)
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The field name does not match any
of the named fields in the Record. |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)