ProfileGroupSettings.PropertySettings Property
.NET Framework (current version)
Gets the collection of profile property settings this object contains.
Assembly: System.Web (in System.Web.dll)
<ConfigurationPropertyAttribute("", IsDefaultCollection := True)> Public ReadOnly Property PropertySettings As ProfilePropertySettingsCollection
Property Value
Type: System.Web.Configuration.ProfilePropertySettingsCollectionA ProfilePropertySettingsCollection collection that contains all the ProfilePropertySettings objects contained in this group.
The following code example shows how to use the PropertySettings property. This code example is part of a larger example provided for the ProfileSection class.
' Display all current ProfileGroupSettings. Console.WriteLine("Current ProfileGroupSettings:") Dim PGSCtr As Integer = 0 For Each propGroups As ProfileGroupSettings In profileSection.PropertySettings.GroupSettings Console.WriteLine(" {0}: ProfileGroupSettings '{1}'", ++PGSCtr, _ propGroups.Name) Dim PPSCtr As Integer = 0 For Each props As ProfilePropertySettings In propGroups.PropertySettings Console.WriteLine(" {0}: ProfilePropertySetting '{1}'", ++PPSCtr, _ props.Name) Next Next
.NET Framework
Available since 2.0
Available since 2.0
Show: