Creates a new instance of the ExternalPropertyAlias class to be persisted to an object store. The created object is a dependent object and cannot exist in the object store without a parent object. The object is persisted to an object store when its parent object (the independently persistable object that references it) is persisted.

The most frequently used form of this method takes no arguments. (Since a dependent object is persisted to the object store of its parent, there is no need to specify an object store.) A second form of this method, provided for backward compatibility with the FileNet P8 Content Engine COM API, takes an object store argument. If the specified object store is not that of the parent object, an exception is thrown when the parent is persisted.


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

Syntax

Visual Basic (Declaration)
Public Shared Function CreateInstance() As IExternalPropertyAlias
C#
public static IExternalPropertyAlias CreateInstance()
C++
public:
 static IExternalPropertyAlias CreateInstance()
J#
public static IExternalPropertyAlias CreateInstance()
JScript
public static  function CreateInstance() : IExternalPropertyAlias

Return Value

An object reference to a new instance of this class.

See Also