Adds the specified System.Web.Profile.ProfileInfo object to the collection.
- profileInfo
- A System.Web.Profile.ProfileInfo object to add to the collection.
The ProfileInfoCollection.Add(ProfileInfo) method is commonly used by profile-provider implementers to populate a System.Web.Profile.ProfileInfoCollection to return from the ProfileProvider.GetAllProfiles(ProfileAuthenticationOption, int, int, Int32@), ProfileProvider.GetAllInactiveProfiles(ProfileAuthenticationOption, DateTime, int, int, Int32@), ProfileProvider.FindProfilesByUserName(ProfileAuthenticationOption, string, int, int, Int32@), or ProfileProvider.FindInactiveProfilesByUserName(ProfileAuthenticationOption, string, DateTime, int, int, Int32@) method of the System.Web.Profile.ProfileProvider abstract class.