Files an instance of a
subclass filed, a
object (for
and
objects) or a
(for
objects) is created to reference this folder and the containee (instance filed).
Namespace: FileNet.Api.Core
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Function File( _ ByVal containee As IIndependentlyPersistableObject, _ ByVal autoUniqueName As AutoUniqueName, _ ByVal containmentName As String, _ ByVal defineSecurityParentage As DefineSecurityParentage _ ) As IReferentialContainmentRelationship |
C# |
---|
IReferentialContainmentRelationship File( IIndependentlyPersistableObject containee, AutoUniqueName autoUniqueName, string containmentName, DefineSecurityParentage defineSecurityParentage ) |
C++ |
---|
IReferentialContainmentRelationship File( IIndependentlyPersistableObject containee, AutoUniqueName autoUniqueName, String containmentName, DefineSecurityParentage defineSecurityParentage ) abstract |
J# |
---|
IReferentialContainmentRelationship File( IIndependentlyPersistableObject containee, AutoUniqueName autoUniqueName, string containmentName, DefineSecurityParentage defineSecurityParentage ) |
JScript |
---|
function File( containee : IIndependentlyPersistableObject, autoUniqueName : AutoUniqueName, containmentName : String, defineSecurityParentage : DefineSecurityParentage ) : IReferentialContainmentRelationship |
Parameters
- containee
- An
object for theIndependentlyPersistableObject
subclass instance to be filed.Containable
- autoUniqueName
- An
object indicating whether to detect and resolve naming collisions of containment names.AutoUniqueName
- containmentName
- A
containing the containment name to assign to the new object. By default, this is the file name of the object. The following characters are not allowed:String \ / : * ? " < > |
- defineSecurityParentage
- A
object indicating whether the containing folder is to be used as a security parent. If so, theDefineSecurityParentage
property of the object being added is automatically set to this folder.SecurityFolder
Return Value
A
object where this folder is the tail and the object filed (containee) is the head.