Accessing application settings (Visual Basic)
This section contains topics describing the My.Settings
object and the tasks it enables you to accomplish.
My.Settings
The properties of the My.Settings
object provide access to your application's settings. To add or remove settings, use the Settings pane of the Project Designer.
The methods of the My.Settings
object allow you to save the current user settings or revert the user settings to the last saved values.
Tasks
The following table lists examples showing how to access an application's forms.
To | See |
---|---|
Update the value of a user setting | How to: Change User Settings in Visual Basic |
Display application and user settings in a property grid | How to: Create Property Grids for User Settings in Visual Basic |
Save updated user setting values | How to: Persist User Settings in Visual Basic |
Determine the values of user settings | How to: Read Application Settings in Visual Basic |
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ