GetStr Method
Description
Gets the value of a string property.
Syntax
| Visual Basic |
|---|
Public Function GetStr( _ ByVal objectType As Integer, _ ByVal nObject As Long, _ ByVal propertyName As String _ ) As String |
Parameters
- objectType
-
SIS_OT_COMMANDChanges the properties/mode of the current command. SIS_OT_CURITEM The current open Item. SIS_OT_DEFITEMThe default Item. SIS_OT_DATASETDatasets. SIS_OT_OVERLAYOverlays. SIS_OT_WINDOWThe window. SIS_OT_NOLNamed Object Libraries. SIS_OT_FTABLEThe current Feature Table. SIS_OT_SCHEMAThe current Schema. SIS_OT_SCHEMACOLUMNA column in the current Schema. SIS_OT_THEMEThe current Theme. SIS_OT_THEMECOMPONENTA component in the current Theme. SIS_OT_PRINTERPrinter. SIS_OT_SYSTEMSystem variables. SIS_OT_OPTIONSystem wide Boolean options. - nObject
- The index of the object type.
- propertyName
- The name of the property. All string properties end in '$'. The special properties "_properties$" and "_properties_edit$" are used to get lists of available properties for querying and editing respectively.
Return Type
The string value of the given property.
Remarks
Available: GEO D OD OM OV SISpy
Group:
Example
Sis.GetStr(SIS_OT_SYSTEM,0,"_properties$")- will list all of the system options
Sis.GetStr(SIS_OT_OPTION,0,"_properties$")- will list all of the system variables