IniFileCreateFromString Method |
IniFileIO Documentation |
Creates a new object from the provided text contents.
Namespace: IniFileIO
Assembly: IniFileIO (in IniFileIO.dll) Version: 1.4.0.6028 (1.4.0.06028)
Syntax
public static IniFile CreateFromString( string contents, string fileName = "" )
Public Shared Function CreateFromString ( contents As String, Optional fileName As String = "" ) As IniFile
public: static IniFile^ CreateFromString( String^ contents, String^ fileName = L"" )
static member CreateFromString : contents : string * ?fileName : string (* Defaults: let _fileName = defaultArg fileName "" *) -> IniFile
Parameters
- contents
- Type: SystemString
Ini text. - fileName (Optional)
- Type: SystemString
Destination file for the new object. If this file exists, it will be overwritten. If a value is not provided the returned object will not contain a value in FileName property (it can be set if needed, however).
Return Value
Type: IniFileNew object with the contents assigned.
Remarks
See Also