VBTrain.Net Documentation

LmsApi2.RemoveDevProperty Method

Removes an LmsApi2 session property.

Public Sub RemoveDevProperty(ByVal propName As String)

Parameters

propName
Name of the property.

Remarks

Use SetDevProperty to store session properties to the LmsApi, GetDevProperty to retrieve a stored value, and RemoveDevProperty to remove a stored property.

Example

The following example assumes the VBTrain.WebTracking namespace has been imported. In this example, the LmsApi for the session has been stored as a property (LmsApiObject) of the current class.

[Visual Basic]
Dim apiObject As LmsApi2 = Me.LmsApiObject

apiObject.RemoveDevProperty("studentName")

See Also

LmsApi2 Class | LmsApi Members | SetDevProperty| GetDevProperty