IProject |
The IProjectItemCollection type exposes the following members.
Name | Description | |
---|---|---|
Add | Adds the specified project item to the collection. | |
Contains | Determines whether the collection contains a project item with the specified name and with the type that this collection stores. | |
ContainsAnyName | Determines whether the collection contains any project item with the specified name. This must not neccessarily a item of the type that this collection stores (some collections can have a shared name dictionary). In constrast, use Contains(String) to determine if the collection contains an item with the specified name and the native type that the collection stores. | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) | |
EhChild_CanBeRenamed |
Determines whether the name of the child item can be changed to the provided new name. If the parent implementing this interface is not able to change the child's name, it must return false.
(Inherited from IParentOfINameOwnerChildNodes) | |
EhChild_HasBeenRenamed |
Called if the child has been renamed.
(Inherited from IParentOfINameOwnerChildNodes) | |
EhChild_ParentChanged |
Called if the child's parent changed.
(Inherited from IParentOfINameOwnerChildNodes) | |
EhChildChanged |
This function is used by the childs of an object to signal an parent object that they have changed. If the function returns true, the child have to suspend it's
change notifications (if this is supported by the child).
(Inherited from IChildChangedEventSink) | |
EhParentTunnelingEventHappened | (Inherited from IDocumentLeafNode) | |
FindNewItemName | Looks for the next free standard project item name in the root folder. | |
FindNewItemName(String) | Looks for the next unique project item name base on a basic name. | |
FindNewItemNameInFolder | Looks for the next free standard project item name in the specified folder. | |
GetChildObjectNamed |
retrieves the object with the name C# name (Inherited from INamedObjectCollection) | |
GetNameOfChildObject |
Retrieves the name of the provided object.
(Inherited from INamedObjectCollection) | |
Remove(IProjectItem) | Removes the specified project item. | |
Remove(String) | Removes the project item with the specified name. | |
RenameChild |
Helper function called by a child of this collection to handle renaming of this child.
(Inherited from IParentOfINameOwnerChildNodes) | |
SetDisposeInProgress |
Sets the flag that dispose is in progress for this node and all child nodes recursively.
(Inherited from IDocumentLeafNode) | |
SuspendGetToken |
Suspends the event handling of the object by getting a suspend token. The event handling of the object is resumed when the suspend token is disposed.
(Inherited from ISuspendableByToken) | |
TryGetName |
Test if this item already has a name.
(Inherited from INamedObject) | |
TryGetValue | Try to get a project item by name |
Name | Description | |
---|---|---|
GetPropertyContext |
Gets the property context of the document node. If the provided node is not implementing IPropertyBagOwner, the parent nodes of this node are searched,
until a node which implements IPropertyBagOwner is found.
(Defined by PropertyExtensions) |