| ModelManagerReadT Method (String, FuncString, T) |
Reads a single item from the current collection.
Namespace:
Dynamicweb.Analytics.Model
Assembly:
Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax public T Read<T>(
string itemID,
Func<string, T> activator
)
where T : ISerializableModel
Public Function Read(Of T As ISerializableModel) (
itemID As String,
activator As Func(Of String, T)
) As T
Parameters
- itemID
- Type: SystemString
Item identifier. - activator
- Type: SystemFuncString, T
A function that produces the new instance of a given structure item when nessesary.
Type Parameters
- T
- Item type.
Return Value
Type:
TExisting item or null (Nothing in Visual Basic) if the given item cannot be retrieved.
Exceptions Remarks See Also