Skip to main content

Motion Standalone Preprocessor C# library 2026 R1

Class PropertyDocument<TProp\>

Last update: 09.03.2026

Namespace: VM.Managed
Assembly: VMObjBase.dll

This base class is to represent the propety document.

public abstract class PropertyDocument<TProp> : PropertyDocumentBase, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IDocument, IObject, IEventProvider, IContainer, ILinkContainer, IOwned, IHasID, IEnableManager, IRelatedDocument, IHistorySupport, IPropertyDocument, IUnitChange, IXMLFormatable where TProp : Property, IFileProperty, new()

Type Parameters

TProp

The type of the property.

Inheritance

object ← ObservableObject ← LinkableBase ← LinkContainer ← Container ← Document ← PropertyDocumentBase ← PropertyDocument<TProp>

Implements

IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IDocument, IObject, IEventProvider, IContainer, ILinkContainer, IOwned, IHasID, IEnableManager, IRelatedDocument, IHistorySupport, IPropertyDocument, IUnitChange, IXMLFormatable

Inherited Members

PropertyDocumentBase.Save(string), PropertyDocumentBase.SerializeObj<T>(XmlWriter, T, string), PropertyDocumentBase.DeserializeObj<T>(XmlReader, string, Type), PropertyDocumentBase.Save(TextWriter), PropertyDocumentBase.Save(Stream), PropertyDocumentBase.Load(string), PropertyDocumentBase.Load(TextReader), PropertyDocumentBase.Load(Stream), PropertyDocumentBase.SetUnit(Unit), PropertyDocumentBase.AddReferenceDocument(Document), PropertyDocumentBase.RemoveReferenceDocument(Document), PropertyDocumentBase.FindLocal(string), PropertyDocumentBase.Add(ObjectBase), PropertyDocumentBase.OnPostAdd(ObjectBase), PropertyDocumentBase.AddImpl(ObjectBase), PropertyDocumentBase.IsTypeSupported(Type), PropertyDocumentBase.OnDeserialization(object), PropertyDocumentBase.CreateView(UIntPtr), PropertyDocumentBase.TriggerPostMakeDocument(PropertyDocCreateInfo), PropertyDocumentBase.OnPostMakeDocument(DocCreateInfo), PropertyDocumentBase.GetData(XmlNode), PropertyDocumentBase.SetData(XmlNode), PropertyDocumentBase.Reload, PropertyDocumentBase.UntypedProperty, PropertyDocumentBase.PropertyType, PropertyDocumentBase.Modified, PropertyDocumentBase.UntypedPropertyOwner, PropertyDocumentBase.DocumentSessionOverride, PropertyDocumentBase.SetDocumentSessionOverride, PropertyDocumentBase.OwnedList, PropertyDocumentBase.OwnedCollection, PropertyDocumentBase.CanClose, PropertyDocumentBase.IsPropertySupport, Document.g_OpenDocuments, Document.m_unit, Document.m_unitKernal, Document.raise_OnChildAdded(object, DocumentEventArgs), Document.raise_OnChildRemoved(object, DocumentEventArgs), Document.raise_OnChildRenamed(object, DocumentEventArgs), Document.raise_OnChildUpdated(object, DocumentEventArgs), Document.raise_OnChildUpdatedEnable(object, DocumentEventArgs), Document.raise_OnChildUpdatedAll(object, DocumentEventArgs), Document.raise_OnChildDocNameUpdated(object, DocumentEventArgs), Document.raise_OnDependentDocumentAdded(object, DependentDocEventArgs), Document.raise_OnDependentDocumentRemoved(object, DependentDocEventArgs), Document.raise_OnClearSelectNavigator(object, DocumentEventArgs), Document.raise_OnChildRootSelect(object, DocumentEventArgs), Document.raise_OnChangeIconForNodalModal(object, DocumentEventArgs), Document.raise_OnDoingImport(object, DocumentEventArgs), Document.raise_OnSkipChildAdded(object, DocumentEventArgs), Document.raise_OnSimulationCaseUpdated(object, EventArgs), Document.raise_OnSubentityRefreshed(object, EventArgs), Document.raise_OnSubentityAdded(object, DocumentEventArgs), Document.raise_OnChildMultiAdded(object, DocumentEventArgs), Document.raise_OnSingleObjectSelected(object, ObjectBaseEventArgs), Document.raise_Destroying(object, EventArgs), Document.raise_ChildAdded(object, Identifier), Document.raise_ChildRemoved(object, Identifier), Document.raise_ChildReplacing(object, Identifier), Document.raise_ChildReplaced(object, Identifier), Document.raise_SelectionChanged(object, IEnumerable<Identifier>), Document.Initialize(Document.OpenDoc, Document.BrowseFile, Document.IsOpenDoc, Document.GetDocFromOpenedDoc, Document.ActiveDocChange, Document.ActiveViewChange), Document.Open(string, bool, bool), Document.Open(string, bool), Document.Open(string), Document.Open(string, string, bool), Document.Open(string, string), Document.TryOpen(string, LoadSerializeContext, bool), Document.TryOpen(string, string, bool), Document.TryOpen(string, string), Document.GetDocumentFromOpenedDocument(string), Document.IsOpen(string), Document.ActiveChangedDoc(), Document.ActiveChangedView(), Document.Save(string), Document.PostSave(List<Document>, bool), Document.CreateView(UIntPtr), Document.CloseView(View), Document.Add(ObjectBase), Document.UpdateEnable(ObjectBase, bool), Document.UpdateInterface(ObjectBase, bool), Document.IsTypeSupported(Type), Document.AddToSelectionList(ObjectBase), Document.CancelSelection(bool, bool), Document.ExitCommandMode(), Document.PostOpenDocument(), Document.PostOpenDocumentAfterHookEvent(), Document.PostOpenDocumentAfterErrCheckEvent(), Document.PostOpenDocumentAfterRestoreObjectID(), Document.PostOpenDocumentAfterSetFilePath(), Document.PostCloseDocument(), Document.LinkRequestDestroy(object, LinkEventArgs), Document.PostOpenDocumentAndInitLayer(), Document.DisplayModeShape(int, double), Document.EnableModeShape(bool), Document.GetData(XmlNode), Document.SetData(XmlNode), Document.OperationBegin(), Document.OperationEnd(), Document.GetCopyOfUnit(), Document.GetCopyOfKernelUnit(), Document.FastToConvertUnitLength(bool), Document.ContainsNameAttribute(string), Document.ReplacesNameAttribute(string, string), Document.GetUniqueNameAttribute(string), Document.UpdateItemInNavigaterForUndoRedo(IObjectBase), Document.AddItemToNavigaterForUndoRedo(ObjectBase), Document.RemoveItemFromNavigaterForUndoRedo(ObjectBase), Document.RenameItemFromNavigaterForUndoRedo(ObjectBase), Document.UpdateAllItemInNavigaterForUndoRedo(), Document.UpdateSimulationConfigurationForUndoRedo(), Document.AddItemToSubEntityForUndoRedo(ObjectBase), Document.AddReferenceForUndoRedo(ObjectBase), Document.RefreshReferenceForUndoRedo(ObjectBase), Document.AddToIDMap(IObject), Document.FindObjectFromID(Identifier), Document.FindObjectFromKey(UIntPtr), Document.RemoveFromIDMap(IObject), Document.WriteIDInformation(), Document.GetNextIdentifier(), Document.GetChildren(), Document.Close(), Document.SetUnit(Unit), Document.SetKernelUnit(string), Document.IsEnabledImpl(ObjectBase), Document.SetEnableImpl(ObjectBase, bool), Document.OnDeserialization(object), Document.OnPostMakeDocument(DocCreateInfo), Document.RegisterAddon(), Document.OnContainerDestroy(object, LinkEventArgs), Document.ClearDocument(), Document.Dispose(bool), Document.KeepOldKernelUnit, Document.ClearChildInfoBeforeDeserialize, Document.ExpressionParser, Document.IsHideEntityListWindow, Document.IsHideFilterWindow, Document.SelectedLayoutAlgorithmType, Document.FilterdTypes, Document.CloseAllDialogWhenCloseDoc, Document.DoingOpen, Document.DoingClose, Document.Attributes, Document.AutoSaved, Document.IsChildExternable, Document.IsExternable, Document.IsReplaced, Document.FilePath, Document.DocumentName, Document.InitialConvertFactor, Document.DocumentSessionOverride, Document.CanClose, Document.Modified, Document.SelectionChanged, Document.ChildReplaced, Document.ChildReplacing, Document.ChildRemoved, Document.ChildAdded, Document.Destroying, Document.OnSingleObjectSelected, Document.OnChildMultiAdded, Document.OnSubentityAdded, Document.OnSubentityRefreshed, Document.OnSimulationCaseUpdated, Document.OnSkipChildAdded, Document.OnDoingImport, Document.OnChangeIconForNodalModal, Document.OnChildRootSelect, Document.OnClearSelectNavigator, Document.OnDependentDocumentRemoved, Document.OnDependentDocumentAdded, Document.OnChildDocNameUpdated, Document.OnChildUpdatedAll, Document.OnChildUpdatedEnable, Document.OnChildUpdated, Document.OnChildRenamed, Document.OnChildRemoved, Document.OnChildAdded, Container.Find(string), Container.FindLocal(string), Container.GetUnnamedObjectName(object), Container.GetNewEntityName(string, bool, int, int), Container.GetNewEntityName(string, bool, int), Container.GetNewEntityName(string), LinkContainer.SetModified(), LinkContainer.raise_OnUpdating(object, LinkEventArgs), LinkContainer.raise_OnUpdate(object, LinkEventArgs), LinkContainer.raise_OnDestroying(object, LinkEventArgs), LinkContainer.raise_OnDestroy(object, LinkEventArgs), LinkContainer.raise_OnAdded(object, AddToDocEventArgs), LinkContainer.raise_OnRemoved(object, RemoveFromDocEventArgs), LinkContainer.GetTargetListForUpdate(), LinkContainer.SkipUpdateObjectImpl(), LinkContainer.Initialize(Unit.ConvertFactor), LinkContainer.SetFlagWhenXMLFile(string, bool), LinkContainer.IsSerializableEvent(Delegate), LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext), LinkContainer.GetSerializedData(SerializationInfo, StreamingContext), LinkContainer.LinkRequestUpdating(object, LinkEventArgs), LinkContainer.LinkRequestUpdate(object, LinkEventArgs), LinkContainer.LinkRequestDestroying(object, LinkEventArgs), LinkContainer.LinkRequestDestroy(object, LinkEventArgs), LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs), LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), LinkContainer.OnLinkReserved(ILink, object, EventArgs), LinkContainer.CanBeDestroy(object), LinkContainer.DisposeManagedResources(), LinkContainer.SetContainer(IOwned, bool), LinkContainer.OnChildUpdated(object, LinkEventArgs), LinkContainer.OnContainerDestroy(object, LinkEventArgs), LinkContainer.OnDeserialization(object), LinkContainer.Verify(VerifiedResult), LinkContainer.GetCopy(object), LinkContainer.Dispose(bool), LinkContainer.ClearChildInfoBeforeDeserialize, LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, 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), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

PropertyDocument()

Initializes a new instance of the class.

protected PropertyDocument()

Properties

FilePropertyOwner

Gets the file property owner.

public FilePropertyOwner<TProp> FilePropertyOwner { get; }

Property Value

FilePropertyOwner<TProp>

Property

Gets the property.

public TProp Property { get; }

Property Value

TProp

PropertyType

Gets the type of the property.

protected override Type PropertyType { get; }

Property Value

Type

UntypedProperty

Gets or sets the untyped property.

protected override Property UntypedProperty { get; set; }

Property Value

Property

UntypedPropertyOwner

Gets the untyped property owner.

protected override ObjectBase UntypedPropertyOwner { get; }

Property Value

ObjectBase

Methods

Load(TextReader)

Loads the from specified reader.

public override void Load(TextReader reader)

Parameters

reader TextReader

The reader.

OnPostMakeDocument(DocCreateInfo)

Called when [post make document].

protected override void OnPostMakeDocument(DocCreateInfo docCreateInfo)

Parameters

docCreateInfo DocCreateInfo

The [document create] information.

Save(TextWriter)

Saves the from specified writer.

public override void Save(TextWriter writer)

Parameters

writer TextWriter

The writer.

Connect with Ansys