Class PickerEntityVM
Last update: 09.03.2026Namespace: VM.Managed.Picker.Core
Assembly: VMAppCore.dll
This class is to represent the entity picker.
public class PickerEntityVM : PickerBase
Inheritance
object ← PickerBase ← PickerEntityVM
Inherited Members
PickerBase.raise_CustomFilterEvent(object, FilterArgs), PickerBase.Pick(bool), PickerBase.PickWithStartSignal(bool, ManualResetEvent), PickerBase.Abort(), PickerBase.GetPickerInfo(), PickerBase.GetValidResultXml(string), PickerBase.GetResultXmlFromKey(UIntPtr), PickerBase.GetChangeNoneParametricXml(string), PickerBase.Filtering(UIntPtr), PickerBase.FilteringVMPID(_VM_ID), PickerBase.FilteringAnother(UIntPtr), PickerBase.FilteringReference(UIntPtr, UIntPtr), PickerBase.Highlight(bool), PickerBase.GetAdjacentPatch(double, List<int>), PickerBase.UseEntityFiltering(), PickerBase.SetResultImpl(ref string, bool), PickerBase.UpdateDisplay(), PickerBase.ActiveDocument, PickerBase.IsOnlyResultXml, PickerBase.IsReference, PickerBase.SymmetricType, PickerBase.ResultXml, PickerBase.Result, PickerBase.CustomFilterEvent
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
PickerEntityVM(Type[])
Initializes a new instance of the
public PickerEntityVM(Type[] arTypes)
Parameters
arTypes Type[]
The types of entitys for pick.
PickerEntityVM(Type, bool)
Initializes a new instance of the
public PickerEntityVM(Type type, bool bIsInterface)
Parameters
type Type
The type of entity for pick.
bIsInterface bool
Whether interface or not.
Methods
Filtering(UIntPtr)
Filtering to not proper object.
public override bool Filtering(UIntPtr pTarget)
Parameters
pTarget UIntPtr
Filtering target.
Returns
bool
true if success; otherwise, false.
GetPickableType()
Get array of pickable type.
public Type[] GetPickableType()
Returns
Type[]
The array of pickable type.
GetPickerInfo()
Gets information of picking type.
public override string GetPickerInfo()
Returns
string
GetResultXmlFromKey(UIntPtr)
Get valid result xml according to picker key of core.
public override string GetResultXmlFromKey(UIntPtr key)
Parameters
key UIntPtr
Picking destination key.
Returns
string
The valid result xml.
Highlight(bool)
Picking highlight to filtered target.
public override void Highlight(bool bHighlight)
Parameters
bHighlight bool
If set to ture is highlight; otherwise, false isn't highlight.
SetResultImpl(ref string, bool)
Sets the result for picking.
protected override bool SetResultImpl(ref string strXml, bool bXmlOnly)
Parameters
strXml string
The picked data.
bXmlOnly bool
If it is true, skip the result setting.
Returns
bool
true if success; otherwise, false.