|   | MeasurementKeyTryCreateOrUpdate(Guid, String, MeasurementKey) Method | 
        
        
        
        Namespace: GSF.TimeSeriesAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.257-beta
 Syntax
Syntaxpublic static bool TryCreateOrUpdate(
	Guid signalID,
	string value,
	out MeasurementKey key
)
Public Shared Function TryCreateOrUpdate ( 
	signalID As Guid,
	value As String,
	<OutAttribute> ByRef key As MeasurementKey
) As Boolean
public:
static bool TryCreateOrUpdate(
	Guid signalID, 
	String^ value, 
	[OutAttribute] MeasurementKey^% key
)
static member TryCreateOrUpdate : 
        signalID : Guid * 
        value : string * 
        key : MeasurementKey byref -> bool GSF.TimeSeries.MeasurementKey.TryCreateOrUpdate = function(signalID, value, key);
Parameters
- signalID  Guid
- Guid ID of associated signal, if defined.
- value  String
- A string representation of the MeasurementKey.
- key  MeasurementKey
- The measurement key that was created or updated or Undefined.
Return Value
BooleanTrue if the measurement key was successfully created or updated, false otherwise.
 Exceptions
Exceptions| Exception | Condition | 
|---|
| ArgumentException | signalID cannot be empty. | 
| ArgumentNullException | Measurement key Source cannot be null. | 
 See Also
See Also