Property Windows API Class

ProfileSectionName

Specifies the Section Name that will be used by the Profile functions when their vSectionName argument is missing or Null. Get the current value of the ProfileSectionName Property.

Signature (Visual Basic / VBA)

Public Property Get ProfileSectionName( _
    ) As String

Code Examples

    Assuming
       Dim estWAPI As New WindowsAPI
    for example
       estWAPI.ProfileFileName = "Sample.Ini"
       estWAPI.ProfileSectionName = "Sample Section"
       estWAPI.WritePrivateProfileString("Convert From", "5 kilometers") = True
Public Property Let ProfileSectionName( _
    ByVal vSectionName As String _
    )

Notes & Version History

Details Set the current value of the ProfileSectionName Property.
Warning Be careful about using this Property if your program employs multi-tasking and the profile functions can possibly be called simultaneously from different parts of your program.