| ChannelGetChannelById Method |
Returns the channel by its Id.
Namespace: Dynamicweb.Content.SocialAssembly: Dynamicweb (in Dynamicweb.dll) Version: 9.6.0
Syntax public static Channel GetChannelById(
int id
)
Public Shared Function GetChannelById (
id As Integer
) As Channel
Parameters
- id
- Type: SystemInt32
Channel Id.
Return Value
Type:
ChannelA channel with the given Id or null (Nothing in Visual Basic) if the channel with the given Id doesn't exist.
Remarks See Also