.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XafApplication.GetListViewId(Type) Method

Returns the ID of the List View which is used for objects of a specified type by default, and raises an exception if the appropriate View ID is not found.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public string GetListViewId(
    Type objectType
)
Public Function GetListViewId(
    objectType As Type
) As String
public string GetListViewId(
    Type objectType
)
Public Function GetListViewId(
    objectType As Type
) As String
public string GetListViewId(
    Type objectType
)
Public Function GetListViewId(
    objectType As Type
) As String

Parameters

Name Type Description
objectType Type

A string value that represents a business object type.

Parameters

Name Type Description
objectType Type

A string value that represents a business object type.

Parameters

Name Type Description
objectType Type

A string value that represents a business object type.

Returns

Type Description
String

A string value that represents the ID of the View used to display objects whose type is specified by the objectType parameter.

Returns

Type Description
String

A string value that represents the ID of the View used to display objects whose type is specified by the objectType parameter.

Returns

Type Description
String

A string value that represents the ID of the View used to display objects whose type is specified by the objectType parameter.

Remarks

This method calls the XafApplication.FindListViewId method and raises an exception if the appropriate View has not been found. Use this method instead of the XafApplication.FindListViewId method if you need an exception to be raised in an exclusive situation.

See Also