ILayer 介面
圖層項目
命名空間: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
組件: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (在 Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll 中)
語法
'宣告
Public Interface ILayer _
Inherits ILayerContainer, ILayerElement
public interface ILayer : ILayerContainer, ILayerElement
public interface class ILayer : ILayerContainer,
ILayerElement
type ILayer =
interface
interface ILayerContainer
interface ILayerElement
end
public interface ILayer extends ILayerContainer, ILayerElement
ILayer 型別會公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
![]() |
ArtifactReferences | 取得變形參照。 |
![]() |
Comments | 取得包含在此元素中的註解 (而非連結至此元素的註解)。 (繼承自 ILayerContainer)。 |
![]() |
Description | 取得/設定描述。 (繼承自 ILayerElement)。 |
![]() |
Id | 取得此元素的唯一識別碼。 (繼承自 ILayerElement)。 |
![]() |
IncomingDependencyLinks | 取得連入的相依性連結。 |
![]() |
IsDeleted | 檢查這個項目是否已刪除。 (繼承自 ILayerElement)。 |
![]() |
Layers | 取得此元素中包含的圖層。 (繼承自 ILayerContainer)。 |
![]() |
Name | 取得/設定唯一名稱。 (繼承自 ILayerElement)。 |
![]() |
OutgoingDependencyLinks | 取得連出的相依性連結。 |
![]() |
Parent | 父容器,ILayer 或 ILayerModel。 |
![]() |
Properties | 取得字串字典,您可以用來儲存任意資料與每個ILayerElement. (繼承自 ILayerElement)。 |
回頁首
擴充方法
名稱 | 說明 | |
---|---|---|
![]() |
CreateArtifactReferenceAsync(Project) | 多載。 (以 ArtifactReferenceExtensions 定義。) |
![]() |
CreateArtifactReferenceAsync(Project, EventHandler<CreateArtifactReferenceCompletedEventArgs>) | 多載。 (以 ArtifactReferenceExtensions 定義。) |
![]() |
CreateArtifactReferenceAsync(Project, EventHandler<CreateArtifactReferenceCompletedEventArgs>, Object) | 多載。 將此圖層連結到 Visual Studio 專案。這是一項非同步作業。作業已終止時,會呼叫已完成事件。 (以 ArtifactReferenceExtensions 定義。) |
![]() |
CreateArtifactReferenceAsync(ProjectItem, EventHandler<CreateArtifactReferenceCompletedEventArgs>, Object) | 多載。 將此圖層連結到檔案之類的 Visual Studio 專案項目。這是一項非同步作業。作業已終止時,會呼叫已完成事件。 (以 ArtifactReferenceExtensions 定義。) |
![]() |
CreateComment() | 多載。 (以 Extensions 定義。) |
![]() |
CreateComment(String) | 多載。 建立註解。 (以 Extensions 定義。) |
![]() |
CreateDependencyLink | 從此圖層連結到它所依賴的另一層。 (以 Extensions 定義。) |
![]() |
CreateLayer() | 多載。 (以 Extensions 定義。) |
![]() |
CreateLayer(String) | 多載。 建立新的圖層。 (以 Extensions 定義。) |
![]() |
Delete | 刪除項目。 (以 Extensions 定義。) |
![]() |
GetShape | 取得代表此圖層元素的圖形。 (以 Extensions 定義。) |
回頁首
請參閱
參考
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer 命名空間
CreateLayer