Redigera

Dela via


MetaTable.TryGetColumn(String, MetaColumn) Method

Definition

Returns a value that indicates whether a specified column can be found.

public:
 bool TryGetColumn(System::String ^ columnName, [Runtime::InteropServices::Out] System::Web::DynamicData::MetaColumn ^ % column);
public bool TryGetColumn (string columnName, out System.Web.DynamicData.MetaColumn column);
member this.TryGetColumn : string * MetaColumn -> bool
Public Function TryGetColumn (columnName As String, ByRef column As MetaColumn) As Boolean

Parameters

columnName
String

The name of the column to find.

column
MetaColumn

When this method returns, contains the MetaColumn object for columnName. This parameter is passed uninitialized.

Returns

true if the specified column can be found; otherwise, false.

Remarks

If the columnName parameter is null, an InvalidOperationException exception is thrown.

Applies to