TagAssignment
public class TagAssignmentPersistent link between a tag and either a package or indexed file.
Constructors
Section titled “Constructors”
TagAssignment()
Section titled “TagAssignment()”public TagAssignment()
TagAssignment(int, Target, int)
Section titled “TagAssignment(int, Target, int)”public TagAssignment(int tagId, TagAssignment.Target tagTarget, int targetId)Creates a tag link for the supplied tag, target kind, and package or file identity.
Parameters
| Name | Type |
|---|---|
tagId |
System.Int32 |
tagTarget |
AssetInventory.TagAssignment.Target |
targetId |
System.Int32 |
Methods
Section titled “Methods”
ToString()
Section titled “ToString()”public override string ToString()Returns
System.String
Properties
Section titled “Properties”
[PrimaryKey][AutoIncrement]public int Id { get; set; }Returns
System.Int32
[Indexed]public int TagId { get; set; }Returns
System.Int32
TagTarget
Section titled “TagTarget”[Indexed]public TagAssignment.Target TagTarget { get; set; }Returns
AssetInventory.TagAssignment.Target
TargetId
Section titled “TargetId”[Indexed]public int TargetId { get; set; }Returns
System.Int32