Removes the specified profile item.
Namespace: ININ.IceLib.Connection.ExtensionsAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentNullException | A parameter is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::..ArgumentException | The namespacePath or key length is zero. |
ININ.IceLib..::..NotCachedException | The requested parameter is not cached. |
ININ.IceLib..::..IceLibException | The 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.
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.