public override bool SupportsAttribute(uint attributeId)
{
switch (attributeId)
{
case Attributes.Value:
{
return (m_value.Value != null);
}
case Attributes.ValueRank:
case Attributes.DataType:
case Attributes.IsAbstract:
{
return true;
}
case Attributes.ArrayDimensions:
{
if (m_arrayDimensions == null || m_arrayDimensions.Count == 0)
{
return false;
}
return true;
}
}
return base.SupportsAttribute(attributeId);
}