remove value from users PersonalizationInfo object (if it exists) uses namingcontainer and key to locate approriate value

Namespace: DotNetNuke.Services.Personalization
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static void RemoveProfile(
	PersonalizationInfo personalization,
	string namingContainer,
	string key
)
Visual Basic
Public Shared Sub RemoveProfile ( 
	personalization As PersonalizationInfo,
	namingContainer As String,
	key As String
)

Parameters

personalization
Type: DotNetNuke.Services.Personalization..::..PersonalizationInfo
Object containing user personalization info
namingContainer
Type: System..::..String
Container for related set of values
key
Type: System..::..String
Individual profile key

See Also