Tries to get the channle with specified id

Namespace:  EPiServer.ContentChannels
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public bool TryGetValue(
	string channelId,
	out ContentChannel channel
)

Parameters

channelId
Type: System..::.String
The channel id.
channel
Type: EPiServer.ContentChannels..::.ContentChannel %
The channel.

Return Value

true if channel exist else false

See Also