Ejemplo n.º 1
0
 internal static extern bool GetItemAttribute(IntPtr pItem, PackageAttribute eAttribute, out AttributeStruct pAttributeStruct);
Ejemplo n.º 2
0
 protected static extern string GetPackageItemAttributeName(PackageAttribute eAttribute);
Ejemplo n.º 3
0
 private static extern string GetPackageItemAttributeName(PackageAttribute eAttribute);
Ejemplo n.º 4
0
 private static extern bool GetAttribute(PackageAttribute eAttribute, out AttributeStruct pAttributeStruct);
Ejemplo n.º 5
0
 public string GetItemAttributeName(PackageAttribute attribute)
 {
     Bind(PackageID);
     return GetPackageItemAttributeName(attribute);
 }
Ejemplo n.º 6
0
 public Attribute GetItemAttribute(Item item, PackageAttribute attribute)
 {
     Bind(PackageID);
     AttributeStruct attr;
     if (!GetItemAttribute(item.ItemPtr, attribute, out attr))
     {
         throw new Exception("Unable to get item attribute.");
     }
     return new Attribute(attr);
 }
Ejemplo n.º 7
0
 public Attribute GetAttribute(PackageAttribute attribute)
 {
     Bind(PackageID);
     AttributeStruct attr;
     if (!GetAttribute(attribute, out attr))
     {
         throw new Exception("Unable to get attribute.");
     }
     return new Attribute(attr);
 }