AdminConfigurationManagerAddSimpleConfigurationNodeT Method |
Adds a simple configuration node to M-Files Admin.
Namespace:
MFiles.VAF.AdminConfigurations
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic ConfigurationNode<T> AddSimpleConfigurationNode<T>(
string nodeName,
Func<string> dashboardGenerator = null
)
where T : class, new()
Public Function AddSimpleConfigurationNode(Of T As {Class, New}) (
nodeName As String,
Optional dashboardGenerator As Func(Of String) = Nothing
) As ConfigurationNode(Of T)
public:
generic<typename T>
where T : ref class, gcnew()
virtual ConfigurationNode<T>^ AddSimpleConfigurationNode(
String^ nodeName,
Func<String^>^ dashboardGenerator = nullptr
) sealed
Parameters
- nodeName
- Type: SystemString
Name of the node. - dashboardGenerator (Optional)
- Type: SystemFuncString
Function to generate content for the dashboard.
Type Parameters
- T
- The type of the configuration class. Must have an zero parameter constructor.
Return Value
Type:
ConfigurationNodeTThe added configuration node.
Implements
IAdminConfigurationsAddSimpleConfigurationNodeT(String, FuncString)
See Also