 | CommenceDatabaseGetMarkItem Method |
"Marks" the specified item and makes it the default category and item for subsequent calls to:
EditItem, DeleteItem, AppendText, AssignConnection, UnassignConnection, PromoteItemToShared and ShowItem EXECUTE commands, and GetField, GetFieldToFile, GetFields, GetConnectedItemCount and GetConnectedItemNames REQUESTS.
The category and item is marked only for the specific DDE conversation, not globally. that is, each DDE conversation can have a different marked item.
Can be used to mark the (-Me-) item if one is defined.
Syntax: [GetMarkItem("(-Me-)")]
Note: If a Clarify Field is defined for the category, the value of the clarify field can be specified with an optional third paramter. Alternatively, the ItemName can be a clarified item name.
Namespace:
Vovin.CmcLibNet.Database
Assembly:
Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntaxpublic bool GetMarkItem(
string categoryNameOrKeyword,
string itemName = "",
string clarifyValue = ""
)
Public Function GetMarkItem (
categoryNameOrKeyword As String,
Optional itemName As String = "",
Optional clarifyValue As String = ""
) As Boolean
Parameters
- categoryNameOrKeyword
- Type: SystemString
Commence category name - itemName (Optional)
- Type: SystemString
Commence item name - clarifyValue (Optional)
- Type: SystemString
Commence clarify value
Return Value
Type:
Booleantrue on success, inspect
GetLastError on failure.
Implements
ICommenceDatabaseGetMarkItem(String, String, String)
See Also