| Visual Basic | |
|---|---|
Function StringTestAndSetAt( _ ByVal bsKey As System.String, _ ByVal bsValue As System.String _ ) As System.Boolean | |
Parameters
- bsKey
- Key for which to set a value
- bsValue
- New value
Return Value
True if the value of a new key is successfully set, false if notChange Card Variables Add-in (VB.NET)
Change Card Variables Add-in (C#)
Create and Delete Dictionaries (C#)
Create and Delete Dictionaries (VB.NET)
Change Card Variables Add-in (C#)
Create and Delete Dictionaries (C#)
Create and Delete Dictionaries (VB.NET)
The testing and setting are both performed in a single operation. A test-and-set function like this is useful when you need a semaphore to synchronize several clients accessing the same data. See the example in IEdmDictionary5::LongTestAndSetAt.
- S_OK: The method successfully executed.
- S_FALSE: One of the arguments is invalid.
SOLIDWORKS PDM Professional Version 5.2