What are My.Settings.Default and My.Settings.Item?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to understand about the object My.Settings. I see the Default and
Item properties but don't know what they are for and how to use them.
 
Peter <[email protected]>'s wild thoughts were
released on Thu, 12 Jul 2007 12:42:01 -0700 bearing the
following fruit:
I'm trying to understand about the object My.Settings. I see the Default and
Item properties but don't know what they are for and how to use them.

Public Overridable Default Property Item(ByVal propertyName
As String) As Object

Member of: System.Configuration.SettingsBase

Summary:
Gets or sets the value of the specified settings property.

Parameters:
propertyName: A System.String containing the name of the
property to access.

Return Values:
If found, the value of the named settings property.

As for default, it looks like it return a reference to
itself but I've no idea what you'd use it for.
 
Back
Top