Provides a generic means for instantiating independent objects within a scope.

An InstantiatingScope can instantiate only those objects within its scope. For example, a Document object is within the scope of an ObjectStore, but is not within the scope of a Domain. This interface provides methods for creating or retrieving objects when you do not have type-specific knowledge of the objects to be instantiated. You can create or retrieve objects by supplying just a class name and (for retrieval) an object identifier or path.

Note Note: To create or retrieve known object types, use the static Factory methods for the specific object type. Factory methods are more convenient and provide type safety. The Factory method results do not have to be cast and programming errors on the returned type may be caught at build time instead of runtime. The Factory methods also avoid the inconvenience (and potential for error) of specifying the type.

Namespace:  FileNet.Api.Core
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public Interface IInstantiatingScope _
	Implements IScope
C#
public interface IInstantiatingScope : IScope
Visual C++
public interface class IInstantiatingScope : IScope
JavaScript
FileNet.Api.Core.IInstantiatingScope = function();
FileNet.Api.Core.IInstantiatingScope.createInterface('FileNet.Api.Core.IInstantiatingScope');

ToggleSee Also