Removes the specified profile item.

Namespace: ININ.IceLib.Connection.Extensions
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public void RemoveProfileItem(
	string namespacePath,
	string key
)
Visual Basic
Public Sub RemoveProfileItem ( _
	namespacePath As String, _
	key As String _
)

Parameters

namespacePath
Type: System..::..String
The namespace path.
key
Type: System..::..String
The key.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentExceptionThe namespacePath or key length is zero.
ININ.IceLib..::..NotCachedExceptionThe requested parameter is not cached.
ININ.IceLib..::..IceLibExceptionThe custom profile item cannot be modified because CanEditProfileItems is trueTruetruetrue (True in Visual Basic).

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.

See Also