Kentico 10 API Reference
Kentico 10 API Reference
Namespaces
CMS.DocumentEngine Namespaces
CMS.DocumentEngine
TreeNodeTypeExtensions Class
TreeNodeTypeExtensions Methods
IsFile Method
IsFolder Method
IsRoot Method
TreeNodeTypeExtensions
IsFile Method
Returns true if the given document is a file node
Namespace:
CMS.DocumentEngine
Assembly:
CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
Copy
public
static
bool
IsFile
(
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) 2016 Kentico Software
Send comments on this topic to
support@kentico.com