AddNewTextFileProvider Method
Adds a new text file provider.
Syntax
public static TextFileConfigurationProvider AddNewTextFileProvider( IConfigurationManagerConsumer configurationManager, string providerName, string displayName, string textFilePath, string lineMatch, string newLine, int precedence, string parentGroup, bool createIfMissing )
public: static TextFileConfigurationProvider^ AddNewTextFileProvider( IConfigurationManagerConsumer^ configurationManager, String^ providerName, String^ displayName, String^ textFilePath, String^ lineMatch, String^ newLine, int precedence, String^ parentGroup, bool createIfMissing )
Parameters
- configurationManager
- .
- providerName
- .
- displayName
- .
- textFilePath
- Full pathname of the text file.
- lineMatch
- A match specifying the line.
- newLine
- The new line.
- precedence
- .
- parentGroup
- .
- createIfMissing
- true to create if missing.
Return Value
A TextFileConfigurationProvider.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also