IsBuiltInColumn Method

Helper to determine if a column is marked as built in database column.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Shared Function IsBuiltInColumn ( _
    columnName As String _
) As Boolean
'Usage
Dim columnName As String
Dim returnValue As Boolean

returnValue = CatalogPropertiesDataSetSchema.IsBuiltInColumn(columnName)
public static bool IsBuiltInColumn(
    string columnName
)
public:
static bool IsBuiltInColumn(
    String^ columnName
)
public static function IsBuiltInColumn(
    columnName : String
) : boolean

Parameters

Return Value

Type: System..::.Boolean
true to indicate columnName is a built in column; otherwise, false.

Remarks

Used to determine if a column is marked as a built in the CatalogProperties database column.

This method does not report a built in column at the catalog system level.

For example;

CatalogPropertiesDataSetSchema.IsBuiltInColumn("AssignAll") will return true since "AssignAll" is a built in property in the CatalogPropertiesDataSet.

However, CatalogItemsDataSetSchema.IsBuiltInColumn("AssignAll") will return false since "AssignAll" is not a build in property in the CatalogItemsDataSet.

The following catalog database columns in the CatalogProperties table are marked built in:

  • AssignAll

  • BuiltIn

  • Currency

  • DataType

  • DefaultBooleanValue

  • DefaultCurrencyValue

  • DefaultDateTimeValue

  • DefaultDoubleValue

  • DefaultIntegerValuexxx

  • DefaultStringValue

  • DisplayAsBase

  • DisplayInProductsList

  • DisplayName

  • DisplayOnSite

  • ExportToDW

  • IncludeInSpecSearch

  • IsFreeTextSearchable

  • IsRequired

  • LanguageSensitive

  • MaximumCurrencyValue

  • MaximumDateTimeValue

  • MaximumDoubleValue

  • MaximumIntegerValue

  • MaximumStringLength

  • MinimumCurrencyValue

  • MinimumDateTimeValue

  • MinimumDoubleValue

  • MinimumIntegerValue

  • MinimumStringLength

  • PropertyName

  • TimeStamp

Permissions

See Also

Reference

CatalogPropertiesDataSetSchema Class

CatalogPropertiesDataSetSchema Members

Microsoft.CommerceServer.Catalog Namespace