Folder.FlattenAttributes (EntityID, Boolean, Boolean, IDatabase, EntityAttributeCache, EntityID) Method

For a particular folder, 'flatten' the hierarchical attributes down to a flat list
Public Shared Function FlattenAttributes( _ 
ByVal folder_id As EntityID, _ 
ByVal include_folder_attribs As Boolean, _ 
ByVal include_projects As Boolean, _ 
ByVal db As IDatabase, _ 
ByVal cache As EntityAttributeCache, _ 
ByVal user_id As EntityID
) As List(Of SourcedAttributeInfo)
This language is not supported or no code example is available.
public static List<SourcedAttributeInfo> FlattenAttributes( 
EntityID folder_id
bool include_folder_attribs
bool include_projects
IDatabase db
EntityAttributeCache cache
EntityID user_id 
)
This language is not supported or no code example is available.
public:  
static List<SourcedAttributeInfo^>^ FlattenAttributes( 
EntityID^ folder_id
bool include_folder_attribs
bool include_projects
IDatabase^ db
EntityAttributeCache^ cache
EntityID^ user_id 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

folder_id
EntityID

the id of the folder

include_folder_attribs
bool

whether or not to include file attributes

include_projects
bool

whether or not to include projects

db
IDatabase

the db connection

cache
EntityAttributeCache

the entity attribute cache

user_id
EntityID

Return Value

List<SourcedAttributeInfo>

the list of attribute info objects

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition