InitializeObject initialises all the properties of an object to their Null Values.

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static Object InitializeObject(
	Object objObject,
	Type objType
)
Visual Basic
Public Shared Function InitializeObject ( 
	objObject As Object,
	objType As Type
) As Object

Parameters

objObject
Type: System..::..Object
The object to Initialise
objType
Type: System..::..Type
The type of the object

Return Value

returnsM:DotNetNuke.Common.Utilities.CBO.InitializeObject(System.Object,System.Type)

See Also