private MakeInnerLevelForFreeformSelection ( int tagTextProp ) : SIL.FieldWorks.Common.COMInterfaces.SelLevInfo | ||
tagTextProp | int | The segment or note tag of an annotation to be selected. |
return | SIL.FieldWorks.Common.COMInterfaces.SelLevInfo |
private SelLevInfo MakeInnerLevelForFreeformSelection(int tagTextProp)
{
var noteLevel = new SelLevInfo();
noteLevel.ihvo = 0;
if (tagTextProp == NoteTags.kflidContent)
{
noteLevel.tag = SegmentTags.kflidNotes;
}
else
{
noteLevel.tag = Cache.MetaDataCacheAccessor.GetFieldId2(CmObjectTags.kClassId, "Self", false);
}
return noteLevel;
}