Creates a new instance of the
class based on the specified parameters.
Namespace: FileNet.Api.Core
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function CreateInstance( _ ByVal domain As IDomain, _ ByVal id As Id _ ) As IAddOn |
C# |
---|
public static IAddOn CreateInstance( IDomain domain, Id id ) |
C++ |
---|
public: static IAddOn CreateInstance( IDomain domain, Id id ) |
J# |
---|
public static IAddOn CreateInstance( IDomain domain, Id id ) |
JScript |
---|
public static
function CreateInstance( domain : IDomain, id : Id ) : IAddOn |
Parameters
- domain
- The FileNet P8 domain to which the new instance is scoped.
- id
- The ID (GUID) assigned to the new class instance. This parameter must be
.non-null
Return Value
An object reference to a new instance of this class.