| FactCollectionGetOrDefault Method (String, Object) |
Returns the value of the fact with the given name or a specified default value is the given fact cannot be found.
Namespace: Dynamicweb.Content.Social.MetricsAssembly: Dynamicweb (in Dynamicweb.dll) Version: 9.6.0
Syntax public Object GetOrDefault(
string name,
Object defaultValue
)
Public Function GetOrDefault (
name As String,
defaultValue As Object
) As Object
Parameters
- name
- Type: SystemString
Fact name. - defaultValue
- Type: SystemObject
Default value.
Return Value
Type:
ObjectFact value.
Remarks See Also