AnalyticsJobBase.SetValue<T> method
Use when asserting a new value to certain properties to ensure state changes that need to be written to the database are tracked.
Namespace: Microsoft.Office.Server.Search.Analytics
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Protected Sub SetValue(Of T) ( _
ByRef field As T, _
value As T _
)
'Usage
Dim field As T
Dim value As T
Me.SetValue(field, value)
protected void SetValue<T>(
ref T field,
T value
)
Type parameters
- T
Parameters
field
Type: TThe field to compare.
value
Type: TThe value to compare.