 |
| BcfHierarchicalViewManagerAddBranchBindingSourceTBindingSource Method |
Namespace: CalculationWorks.ViewModel.FormsAssembly: CalculationWorks.ViewModel.Forms (in CalculationWorks.ViewModel.Forms.dll) Version: 3.0.2.0
Syntaxprotected TBindingSource AddBranchBindingSource<TBindingSource>(
string name,
BcfBindingSource parent,
string relationName,
Func<BcfBindingSourceBuilder, TBindingSource> createBindingSource
)
where TBindingSource : BcfBindingSource
Protected Function AddBranchBindingSource(Of TBindingSource As BcfBindingSource) (
name As String,
parent As BcfBindingSource,
relationName As String,
createBindingSource As Func(Of BcfBindingSourceBuilder, TBindingSource)
) As TBindingSource
protected:
generic<typename TBindingSource>
where TBindingSource : BcfBindingSource
TBindingSource AddBranchBindingSource(
String^ name,
BcfBindingSource^ parent,
String^ relationName,
Func<BcfBindingSourceBuilder^, TBindingSource>^ createBindingSource
)
member AddBranchBindingSource :
name : string *
parent : BcfBindingSource *
relationName : string *
createBindingSource : Func<BcfBindingSourceBuilder, 'TBindingSource> -> 'TBindingSource when 'TBindingSource : BcfBindingSource
Parameters
- name
- Type: SystemString
The name. - parent
- Type: CalculationWorks.ViewModel.FormsBcfBindingSource
The parent BcfBindingSource. - relationName
- Type: SystemString
Name of the relation. - createBindingSource
- Type: SystemFuncBcfBindingSourceBuilder, TBindingSource
TBindingSource constructor.
Type Parameters
- TBindingSource
- The type of the binding source.
Return Value
Type:
TBindingSourceTBindingSource.
Exceptions
Version InformationCalculationWorks.ViewModel.Forms
Supported in: 3.0, 2.1, 2.0
See Also