Show / Hide Table of Contents

Class ProductAttributeValue

Wraps a value associated with a ProductAttributeType.

Inheritance
System.Object
ProductAttributeValue
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class ProductAttributeValue

Constructors

ProductAttributeValue(Int32)

Create a reference to an existing ProductAttributeValue using its id.

Declaration
public ProductAttributeValue(int productAttributeValueId_)
Parameters
Type Name Description
System.Int32 productAttributeValueId_

Identifies an existing product attribute value

ProductAttributeValue(Int32, String)

Create a reference to an existing ProductAttributeValue using the type and a value string.

Declaration
public ProductAttributeValue(int productAttributeTypeId_, string value_)
Parameters
Type Name Description
System.Int32 productAttributeTypeId_

Identifies a ProductAttributeType by id.

System.String value_

The string value of the ProductAttributeValue.

ProductAttributeValue(String, String)

Create a reference to an existing ProductAttributeValue using the name of its corresponding ProductAttributeType and its value string.

Declaration
public ProductAttributeValue(string productAttributeTypeName_, string value_)
Parameters
Type Name Description
System.String productAttributeTypeName_

Identifies a ProductAttributeType by name.

System.String value_

The string value of the ProductAttributeValue.

Properties

Description

Description of the value.

Declaration
public string Description { get; }
Property Value
Type Description
System.String

IsInactive

Indicates whether or not the attribute value has been inactivated.

Declaration
public bool IsInactive { get; }
Property Value
Type Description
System.Boolean

ProductAttributeTypeId

Identifies the product attribute type.

Declaration
public int ProductAttributeTypeId { get; }
Property Value
Type Description
System.Int32

ProductAttributeTypeName

Name of the product attribute type.

Declaration
public string ProductAttributeTypeName { get; }
Property Value
Type Description
System.String

ProductAttributeValueId

Identifies the product attribute value.

Declaration
public int ProductAttributeValueId { get; }
Property Value
Type Description
System.Int32

SeqNum

Sequence number. This will only be set for product attributes that have been marked as having a custom sort order.

Declaration
public int? SeqNum { get; }
Property Value
Type Description
System.Nullable<System.Int32>

Value

Display value.

Declaration
public string Value { get; }
Property Value
Type Description
System.String
Back to top Generated by DocFX