Gets the profile items contained in the requested namespace path.

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


public IDictionary<string, ProfileItem> GetNamespaceContents(
	string namespacePath
Visual Basic
Public Function GetNamespaceContents ( _
	namespacePath As String _
) As IDictionary(Of String, ProfileItem)


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

Return Value

The profile items.


This method will return the value from the cache, if the attribute is cached. If the attribute is not being cached, it will send a request to the server and get the attribute.
Requesting a namespace will cause that namespace, and all sub-namespaces, to be returned and cached. This can be used to pre-cache all profile items for a root namespace and make subsequent requests for profile items return from the local cache instead of issuing a server request.


System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentExceptionThe namespacePath length is zero.
ININ.IceLib..::..IceLibExceptionThe custom profile information could not be retrieved.

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