IAdminConfigurationsAddSimpleConfigurationNodeT 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
SyntaxConfigurationNode<T> AddSimpleConfigurationNode<T>(
string nodeName,
Func<string> dashboardGenerator = null
)
where T : class, new()
Function AddSimpleConfigurationNode(Of T As {Class, New}) (
nodeName As String,
Optional dashboardGenerator As Func(Of String) = Nothing
) As ConfigurationNode(Of T)
generic<typename T>
where T : ref class, gcnew()
ConfigurationNode<T>^ AddSimpleConfigurationNode(
String^ nodeName,
Func<String^>^ dashboardGenerator = nullptr
)
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.
See Also