Deployment Tools Foundation
SetString Method (fieldName, value)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► SetString(String, String)
Sets the value of a field to a string.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public void SetString( string fieldName, string value )
Public Sub SetString ( fieldName As String, value As String )
public: void SetString( String^ fieldName, String^ value )
member SetString : fieldName : string * value : string -> unit
Exceptions
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.11.1.2318)