FileRelationship Class
Autodesk.DataManagement.Client.Framework.Vault›Autodesk.DataManagement.Client.Framework.Vault.Currency.Entities
An object that describes a parent-child relationship between two files
Syntax
public class FileRelationship : EntityRelationship Public Class FileRelationship
Inherits EntityRelationshipConstructors
| Name | Description |
|---|---|
| FileRelationship | Constructs an instance of a FileRelationship object |
Properties
| Name | Description |
|---|---|
| Child | Gets the child in a parent-child relationship (ie. a part is a child of an assembly) |
| ChildFile | Gets the child file in a parent-child relationship (ie. a part is a child of an assembly) |
| ChildPath | The path of the child file. The may be a relative path or an absolute path, depending on how the host application maintains relationships |
| HasPathChanged | Gets whether or not the location of the parent or child in the relationship has changed. If so, then the parent needs to have it's references updated. |
| IsAttachment | Gets if the relationship was manually created by the user (ie. an attachment) as opposed to a dependency relationship where file A depends on file B |
| Key | Gets the key of this relationship, which is an identifier of this relationship. |
| Parent | Gets the parent in a parent-child relationship (ie. an assembly is a parent to a part) |
| ParentFile | Gets the parent file in a parent-child relationship (ie. an assembly is a parent to a part) |
| RefId | Gets an ID that uniquely identifies the parent-child relationship |
| RelationshipType | An option string which identifies the type of relationship. It is often the name of the application that created the relationship. For example, in the case of an Assembly that is the parent of a Part, the relationshipType will be "INVENTOR" |
Inheritance Hierarchy
- System.Object
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Entities.EntityRelationship
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Entities.FileRelationship