VBTrain.Net Documentation

LmsApi2.GetDevPropertiesList Function

Returns a zero-based, one-dimensional string array of the property names (one property name per cell) that have been set for an LmsApi object using the SetDevProperty method.

Public Function GetDevPropertiesList() As String()

Remarks

You can use the LmsApi methods SetDevProperty and GetDevProperty to store and retrieve properties of the LmsApi object. The GetDevPropertiesList function returns a string array of property names for all the properties that have been set.

Example

The following example assumes the VBTrain.WebTracking namespace has been imported. After executing this example, propNames would contain two elements: "studentName" and "lessonLocation".

[Visual Basic]
Dim studentName As String = "Doe, John"
Dim pageName As String = "Page_4"
Dim apiObject As New LmsApi2()

apiObject.SetDevProperty("studentName", studentName)
apiObject.SetDevProperty("lessonLocation", pageName)
Dim propNames As String() = apiObject.GetDevPropertiesList
			

See Also

LmsApi2 Class | LmsApi Members | GetDevPropertiesCount | GetDevPropertiesTable