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 ISite |
C# |
---|
public static ISite CreateInstance( IDomain domain, Id id ) |
C++ |
---|
public: static ISite CreateInstance( IDomain domain, Id id ) |
J# |
---|
public static ISite CreateInstance( IDomain domain, Id id ) |
JScript |
---|
public static
function CreateInstance( domain : IDomain, id : Id ) : ISite |
Parameters
- domain
- The FileNet P8 domain to which the new instance is scoped.
- id
- The ID (GUID) assigned to the new class instance.
Return Value
An object reference to a new instance of this class.