Deployment Tools Foundation
SetString Method (field, value)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► SetString(Int32, String)
Sets the value of a field to a string.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void SetString( int field, string value )
Public Sub SetString ( field As Integer, value As String )
public: void SetString( int field, String^ value )
Remarks
Win32 MSI API: MsiRecordSetString
Exceptions
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.9.1006.0)