Share via


ContentListSchema.ColumnName Property (PIA)

The ColumnName property is a read/write String that contains the name of the column.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Caching
…
Public Property ColumnName(vColumn As Object) As String

[C#]

Get method:

using Microsoft.CommerceServer.Interop.Caching;
…
public string get_ColumnName(object vColumn);

Put method:

using Microsoft.CommerceServer.Interop.Caching;
…
public void  set_ColumnName(object vColumn,
 stringColumnName);

Parameters

[Visual Basic .NET]

  • vColumn
    An Object that contains either the column name or the column position in order to identify the column in question. Column positions are counted from zero (0), not one (1).

[C#]

  • vColumn
    An object that contains either the column name or the column position in order to identify the column in question. Column positions are counted from zero (0), not one (1).
  • ColumnName
    When putting the property, a string that contains the new column name.

Return Values

When getting the property, returns a string containing the current column name.

Exceptions

This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

Remarks

[C#]get_ColumnNames and set_ColumnNames do not show up in IntelliSense.

Though using a column name as the value of the vColumn parameter in order to retrieve that same column name may be fruitless, passing a column name does make sense when changing the column name.

Requirements

Namespace: Microsoft.CommerceServer.Interop.Caching

Platforms: Windows 2000, Windows Server 2003

Assembly: cachecomplib (in cachecomplib.dll)

See Also

ContentListSchema Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.