Custom attributes are stored as part of an item.



Code Sample


# Get the item.

$item = $xia.GET_Item(1234, 0);


# Display the custom attributes.

foreach ($customAttribute in $item.CustomAttributes.CustomAttribute)

{

    Write-Host $customAttribute.DisplayName;

    Write-Host $customAttribute.Identifier;

    Write-Host $customAttribute.DisplayValue;

}