Click or drag to resize
MvComponentGetViewIdsAsync Method
Requests from the server the list of the views that meet the criteria defined by the arguments.

Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 6.3.0.0 (0.8.0.0)
Syntax
public Task<ViewIds> GetViewIdsAsync(
	string objName,
	string viewPattern,
	string represPattern,
	bool caseSensitive = false
)

Parameters

objName
Type: SystemString
The main origin type of the dynamic view type must be a Server object type associated with the label objName, or of a parent type.
viewPattern
Type: SystemString
The name of the view must match the character string viewPattern (see IlsString::match).
represPattern
Type: SystemString
The representation type in the view must match represPattern.
caseSensitive (Optional)
Type: SystemBoolean
Choose if the pattern filter is case sensitive.

Return Value

Type: TaskViewIds
An asynchronous task that gives a ViewIds result.
Remarks
When the server has determined the list of matching dynamic view types, this list is filtered by a call to the function IlsViewed::acceptView on each view type name. In response, the resulting list is sent to the component.
See Also