GetByName

ViewCollection.GetByName method

Searches for a View with the name, and returns the first occurrence within the collection.

public View GetByName(string viewName)
ParameterTypeDescription
viewNameStringName of the View to search.

Return Value

The first View in collection with the specified name, if found; otherwise, null.

See Also