> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class DirectionLink

Namespace: [VM.Managed](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed)\
Assembly: VMAppCore.dll

This class is to represent information of direction through Design Frame.

```csharp theme={null}
public class DirectionLink : DirectionBase, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable, IReservable
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
ObservableObject ←
LinkableBase ←
[LinkContainer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md) ←
[DirectionBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DirectionBase.md) ←
[DirectionLink](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DirectionLink.md)

#### Implements

IObservableObject,
IDisposableObject,
ILinkable,
IObject,
ILinkContainer,
IOwned,
IHasID,
IEventProvider,
[ILinkContainerEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.ILinkContainerEvent.md),
[IVerifiable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.IVerifiable.md),
IReservable

#### Inherited Members

[DirectionBase.m\_bReverse](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DirectionBase.md#VM_Managed_DirectionBase_m_bReverse),
[DirectionBase.IsParametric(Primitive.enRefType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DirectionBase.md#VM_Managed_DirectionBase_IsParametric_VM_Managed_Primitive_enRefType_),
[DirectionBase.IsParametric(string)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DirectionBase.md#VM_Managed_DirectionBase_IsParametric_System_String_),
[DirectionBase.ReadXml(XmlReader)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DirectionBase.md#VM_Managed_DirectionBase_ReadXml_System_Xml_XmlReader_),
[DirectionBase.WriteXml(XmlWriter)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DirectionBase.md#VM_Managed_DirectionBase_WriteXml_System_Xml_XmlWriter_),
[DirectionBase.GetSchema()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DirectionBase.md#VM_Managed_DirectionBase_GetSchema),
[DirectionBase.Reverse](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DirectionBase.md#VM_Managed_DirectionBase_Reverse),
[DirectionBase.IsParameterized](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DirectionBase.md#VM_Managed_DirectionBase_IsParameterized),
[DirectionBase.Value](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DirectionBase.md#VM_Managed_DirectionBase_Value),
[LinkContainer.SetModified()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_SetModified),
[LinkContainer.raise\_OnUpdating(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnUpdating_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.raise\_OnUpdate(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnUpdate_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.raise\_OnDestroying(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnDestroying_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.raise\_OnDestroy(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnDestroy_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.raise\_OnAdded(object, AddToDocEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnAdded_System_Object_VM_Managed_AddToDocEventArgs_),
[LinkContainer.raise\_OnRemoved(object, RemoveFromDocEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnRemoved_System_Object_VM_Managed_RemoveFromDocEventArgs_),
[LinkContainer.GetTargetListForUpdate()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_GetTargetListForUpdate),
[LinkContainer.SkipUpdateObjectImpl()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_SkipUpdateObjectImpl),
[LinkContainer.Initialize(Unit.ConvertFactor)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Initialize_VM_Unit_ConvertFactor_),
[LinkContainer.SetFlagWhenXMLFile(string, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_SetFlagWhenXMLFile_System_String_System_Boolean_),
[LinkContainer.IsSerializableEvent(Delegate)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_IsSerializableEvent_System_Delegate_),
[LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_CustomGetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_),
[LinkContainer.GetSerializedData(SerializationInfo, StreamingContext)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_GetSerializedData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_),
[LinkContainer.LinkRequestUpdating(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_LinkRequestUpdating_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.LinkRequestUpdate(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_LinkRequestUpdate_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.LinkRequestDestroying(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_LinkRequestDestroying_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.LinkRequestDestroy(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_LinkRequestDestroy_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_LinkAddedToDocument_System_Object_VM_Managed_AddToDocEventArgs_),
[LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_LinkRemovedFromDocument_System_Object_VM_Managed_RemoveFromDocEventArgs_),
[LinkContainer.OnLinkReserved(ILink, object, EventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnLinkReserved_VM_Managed_ILink_System_Object_System_EventArgs_),
[LinkContainer.CanBeDestroy(object)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_CanBeDestroy_System_Object_),
[LinkContainer.DisposeManagedResources()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_DisposeManagedResources),
[LinkContainer.SetContainer(IOwned, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_SetContainer_VM_Models_Pre_IOwned_System_Boolean_),
[LinkContainer.OnChildUpdated(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnChildUpdated_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.OnContainerDestroy(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnContainerDestroy_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.OnDeserialization(object)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnDeserialization_System_Object_),
[LinkContainer.Verify(VerifiedResult)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Verify_VM_Managed_VerifiedResult_),
[LinkContainer.GetCopy(object)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_GetCopy_System_Object_),
[LinkContainer.Dispose(bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Dispose_System_Boolean_),
[LinkContainer.ClearChildInfoBeforeDeserialize](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_ClearChildInfoBeforeDeserialize),
[LinkContainer.Container](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Container),
[LinkContainer.Owner](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Owner),
[LinkContainer.Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Document),
[LinkContainer.ID](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_ID),
[LinkContainer.IsChildExternable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_IsChildExternable),
[LinkContainer.IsExternable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_IsExternable),
[LinkContainer.OnRemoved](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnRemoved),
[LinkContainer.OnAdded](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnAdded),
[LinkContainer.OnDestroy](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnDestroy),
[LinkContainer.OnDestroying](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnDestroying),
[LinkContainer.OnUpdate](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnUpdate),
[LinkContainer.OnUpdating](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnUpdating),
LinkableBase.OnDeserialization(object),
ObservableObject.Dispose(),
ObservableObject.RaisePropertyChanged(string),
ObservableObject.RaisePropertyChanged(string, object, object),
ObservableObject.Dispose(bool),
ObservableObject.DisposeManagedResources(),
ObservableObject.DisposeUnmanagedResources(),
ObservableObject.IsDisposed,
ObservableObject.TryDisposing,
ObservableObject.Disposed,
ObservableObject.Disposing,
ObservableObject.PropertyChanged

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### DirectionLink(IDirectionContainer, string)

Initializes a new instance of the [DirectionLink](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DirectionLink.md) class.

```csharp theme={null}
public DirectionLink(IDirectionContainer pDirectionContainer, string strDirectionType)
```

#### Parameters

`pDirectionContainer` [IDirectionContainer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.IDirectionContainer.md)

The data of direction of Design Frame.

`strDirectionType` [string](https://learn.microsoft.com/dotnet/api/system.string)

Direction type(x,y,z).

### DirectionLink()

Initializes a new instance of the [DirectionLink](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DirectionLink.md) class.

```csharp theme={null}
public DirectionLink()
```

## Fields

### m\_linkDirectionContainer

```csharp theme={null}
protected Link<IDirectionContainer, LinkContainer.Update, LinkContainer.Destroy, LinkContainer.None> m_linkDirectionContainer
```

#### Field Value

[Link](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Link-4.md)\<[IDirectionContainer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.IDirectionContainer.md), [LinkContainer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md).[Update](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.Update.md), [LinkContainer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md).[Destroy](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.Destroy.md), [LinkContainer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.md).[None](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkContainer.None.md)>

### m\_strDirectionType

```csharp theme={null}
protected string m_strDirectionType
```

#### Field Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

## Properties

### DirectionContainer

Gets or sets the object of design frame.

```csharp theme={null}
public IDirectionContainer DirectionContainer { get; set; }
```

#### Property Value

[IDirectionContainer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.IDirectionContainer.md)

### DirectionType

Gets the direction type of design frame.

```csharp theme={null}
public string DirectionType { get; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### IsParameterized

Gets the parametric.

```csharp theme={null}
public override bool IsParameterized { get; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Position

Gets the position of design frame.

```csharp theme={null}
public VectorBase Position { get; }
```

#### Property Value

[VectorBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.VectorBase.md)

### Value

Gets the VectorBase(x, y, z).

```csharp theme={null}
public override VectorBase Value { get; }
```

#### Property Value

[VectorBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.VectorBase.md)

### \_DirectionContainer

Gets or sets the object of design frame.

```csharp theme={null}
public Linker<IDirectionContainer> _DirectionContainer { get; set; }
```

#### Property Value

[Linker](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Linker-1.md)\<[IDirectionContainer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.IDirectionContainer.md)>

## Methods

### GetSchema()

This method is reserved and should not be used. When implementing the IXmlSerializable interface,
you should return nullNothingnullptra null reference (Nothing in Visual Basic) (Nothing in Visual Basic)
from this method, and instead, if specifying a custom schema is required,
apply the XmlSchemaProviderAttribute to the class.

```csharp theme={null}
public override XmlSchema GetSchema()
```

#### Returns

[XmlSchema](https://learn.microsoft.com/dotnet/api/system.xml.schema.xmlschema)

An XmlSchema that describes the XML representation of the object that is produced by the WriteXml() method and consumed by the ReadXml() method.

### ReadXml(XmlReader)

Generates an object from its XML representation.

```csharp theme={null}
public override void ReadXml(XmlReader reader)
```

#### Parameters

`reader` [XmlReader](https://learn.microsoft.com/dotnet/api/system.xml.xmlreader)

The XmlReader stream from which the object is deserialized.

### WriteXml(XmlWriter)

Converts an object into its XML representation.

```csharp theme={null}
public override void WriteXml(XmlWriter writer)
```

#### Parameters

`writer` [XmlWriter](https://learn.microsoft.com/dotnet/api/system.xml.xmlwriter)

The XmlWriter stream to which the object is serialized.
