Kentico 9.0 API Reference
Kentico 9.0 API Reference
Namespaces
CMS.DocumentEngine
TreeNodeTypeExtensions Class
TreeNodeTypeExtensions Methods
IsFile Method
IsFolder Method
IsRoot Method
TreeNodeTypeExtensions
IsFolder Method
Returns true if the given document is a folder node
Namespace:
CMS.DocumentEngine
Assembly:
CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
Copy
public
static
bool
IsFolder
(
this
ITreeNode
node
)
Parameters
node
Type:
CMS.Base
ITreeNode
Document node
Return Value
Type:
Boolean
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ITreeNode
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
TreeNodeTypeExtensions Class
CMS.DocumentEngine Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com