Class Folder
Represents a Folder in the TreeView. Does not correspond to any object in the TOM.
Implements IDisplayFolderObject since a Folder can itself be located within another
display folder.
Implements IParentObject since a Folder can contain child objects.
Assembly: TOMWrapper.dll
Syntax
public class Folder : ITabularObjectContainer, IFolderObject, ITabularTableObject, ITabularNamedObject, ITabularObject, INotifyPropertyChanged, INamedObject
Properties
DisplayFolder
Declaration
[Browsable(false)]
public string DisplayFolder { get; set; }
Property Value
IsRemoved
Declaration
[Browsable(false)]
public bool IsRemoved { get; }
Property Value
Declaration
[Browsable(false)]
public int MetadataIndex { get; }
Property Value
Model
Declaration
[Browsable(false)]
public Model Model { get; }
Property Value
Name
Declaration
public string Name { get; set; }
Property Value
ObjectType
Declaration
public ObjectType ObjectType { get; }
Property Value
ParentTable
Declaration
[Browsable(false)]
public Table ParentTable { get; }
Property Value
Path
Declaration
public string Path { get; }
Property Value
Table
Declaration
[Browsable(false)]
public Table Table { get; }
Property Value
TranslatedDisplayFolders
Declaration
[Browsable(false)]
public TranslationIndexer TranslatedDisplayFolders { get; }
Property Value
Methods
CanDelete()
Declaration
Returns
CanDelete(out string)
Declaration
public bool CanDelete(out string message)
Parameters
Type |
Name |
Description |
string |
message |
|
Returns
Delete()
Deleting a folder does not delete child objects - it just removes the folder.
Any child folders are retained (but will be moved up the display folder hierarchy).
Declaration
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
Equals(Folder)
Declaration
public bool Equals(Folder other)
Parameters
Type |
Name |
Description |
Folder |
other |
|
Returns
GetChildren()
Declaration
public IEnumerable<ITabularNamedObject> GetChildren()
Returns
GetChildrenByFolders()
Declaration
public IEnumerable<IFolderObject> GetChildrenByFolders()
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
SetFolderName(string)
Declaration
public void SetFolderName(string newName)
Parameters
Type |
Name |
Description |
string |
newName |
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Operators
operator ==(Folder, Folder)
Declaration
public static bool operator ==(Folder obj1, Folder obj2)
Parameters
Returns
operator !=(Folder, Folder)
Declaration
public static bool operator !=(Folder obj1, Folder obj2)
Parameters
Returns
Implements
Extension Methods