共用方式為


IElementDirectory Interface

Directory of model elements that are contained within a store or a partition.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public Interface IElementDirectory
public interface IElementDirectory
public interface class IElementDirectory
type IElementDirectory =  interface end
public interface IElementDirectory

The IElementDirectory type exposes the following members.

Properties

  Name Description
Public property AllElements Gets a read-only collection of all elements in the directory.

Top

Methods

  Name Description
Public method ContainsDeletedElement Indicates whether an element is in the set of deleted elements.
Public method ContainsElement Gets whether an element with the specified ID is in the directory.
Public method FindDeletedElement Finds a particular element that has been deleted.
Public method FindElement Gets an element with a specified ID.
Public method FindElementLink Finds a particular instance of a domain relationship.
Public method FindElements(Guid) Finds all elements in the directory of a specified type.
Public method FindElements(DomainClassInfo) Finds all elements in the directory of a specified type.
Public method FindElements(Guid, Boolean) Finds all elements in the directory of a specified type.
Public method FindElements(DomainClassInfo, Boolean) Finds all elements in the directory of a specified type.
Public method FindElements<T>() Finds all elements in the directory of a specified type.
Public method FindElements<T>(Boolean) Finds all elements in the directory of a specified type.
Public method GetDeletedElement Gets a particular element that has been deleted.
Public method GetElement Gets a particular element.
Public method GetElementLink Gets a particular instance of a domain relationship.
Public method GetElements Get the set of elements from the IDs in a particular set.

Top

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace