DslLibraryImport 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
VisualStudio 的 DomainClass DslLibraryImport Description. Dsldefinition.dsl. DslLibraryImport
public ref class DslLibraryImport : Microsoft::VisualStudio::Modeling::ModelElement
[Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryImport.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryImport.DisplayName", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.DomainModelOwner(typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel))]
[Microsoft.VisualStudio.Modeling.DomainObjectId("24cc939a-cc59-40c9-8d1a-cb8e9718e482")]
[System.CLSCompliant(true)]
public class DslLibraryImport : Microsoft.VisualStudio.Modeling.ModelElement
[<Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryImport.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryImport.DisplayName", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.DomainModelOwner(typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel))>]
[<Microsoft.VisualStudio.Modeling.DomainObjectId("24cc939a-cc59-40c9-8d1a-cb8e9718e482")>]
[<System.CLSCompliant(true)>]
type DslLibraryImport = class
inherit ModelElement
Public Class DslLibraryImport
Inherits ModelElement
- 继承
- 属性
构造函数
| DslLibraryImport(Partition, PropertyAssignment[]) |
构造函数 |
| DslLibraryImport(Store, PropertyAssignment[]) |
构造函数 |
字段
| DomainClassId |
DslLibraryImport 域类 Id。 |
| FilePathDomainPropertyId |
FilePath 域属性 Id。 |
属性
| DslLibrary |
获取或设置 DslLibrary。 VisualStudio 的说明。 Dsldefinition.dsl. DslLibraryHasDslLibraryImports. DslLibraryImport |
| FilePath |
获取或设置 FilePath 域属性的值。 VisualStudio 的说明 Dsldefinition.dsl. DslLibraryImport。 |
| Id |
此元素的唯一标识符。 (继承自 ModelElement) |
| ImportedDslLibrary |
已导入的库 |
| IsActive |
如果该元素当前在模型内处于活动状态,则返回 true; 如果该元素已删除或正在被删除,则返回 false。 (继承自 ModelElement) |
| IsDeleted |
已从模型中删除了元素。 (删除的元素不会立即被销毁,使 undo 命令可以撤消删除元素。 ) (继承自 ModelElement) |
| IsDeleting |
已从模型中删除了元素。 (删除的元素不会立即被销毁,使 undo 命令可以撤消删除元素。 ) (继承自 ModelElement) |
| Partition |
获取或设置包含此元素的分区实例。 (继承自 ModelElement) |
| Store |
获取包含此元素的存储实例。 (继承自 ModelElement) |
方法
| CanMerge(ProtoElementBase, ElementGroupPrototype) |
返回一个值,该值指示是否可以将指定根 ProtoElement 表示的源元素添加到此元素。 (继承自 ModelElement) |
| ChooseMergeTarget(ElementGroup) |
获取要用作 ElementGroup 合并进程目标的 ModelElement。 |
| ChooseMergeTarget(ElementGroupPrototype) |
获取要用作 Elementgroupprototype 创建 elementgroup 合并进程目标的 ModelElement。 |
| Copy() |
在模型中创建元素的副本。 (继承自 ModelElement) |
| Copy(IEnumerable<Guid>) |
在模型中创建元素的副本。 (继承自 ModelElement) |
| Delete() |
从模型中删除元素。 (继承自 ModelElement) |
| Delete(Guid[]) |
从模型中删除元素。 (继承自 ModelElement) |
| GetDomainClass() |
获取此元素的派生程度最高的域类。 (继承自 ModelElement) |
| GetRoleCollection<TCollection,TElement>(Guid) |
获取或创建链接元素集合 (继承自 ModelElement) |
| MergeConfigure(ElementGroup) |
由合并进程调用,以允许此模型元素在合并进程与其关联的目标元素后立即配置自身。 (继承自 ModelElement) |
| MergeDisconnect(ModelElement) |
执行相对于 MergeRelate 的操作(即从当前的元素断开连接) (删除) MergeRelate 创建的链接。 (继承自 ModelElement) |
| MergeRelate(ModelElement, ElementGroup) |
由合并进程调用,用于创建此 target 元素与指定源元素之间的关系。 通常,父子关系在 (父) 的目标元素和) 子元素 (的源元素之间建立,但可以建立任何关系。 (继承自 ModelElement) |
| OnCopy(ModelElement) |
当已创建元素的副本时调用。 在重复元素上调用方法。 (继承自 ModelElement) |
| OnDeleted() |
在元素已删除之后由模型调用。 (继承自 ModelElement) |
| OnDeleting() |
删除过程中,会卸载库 (如有可能) |
| OnResurrected() |
在复活元素后,由模型调用 (放回存储) 。 (继承自 ModelElement) |
| OnRolePlayerPositionChanged(DomainRoleInfo, ElementLink, Int32, Int32) |
在角色扮演者位置发生更改时通知的虚拟方法。 (继承自 ModelElement) |
| OnRolePlayerPositionChanging(DomainRoleInfo, ElementLink, Int32, Int32) |
在角色扮演者位置将发生变化时通知的虚拟方法。 (继承自 ModelElement) |
显式接口实现
扩展方法
| AddExtension(ModelElement, DomainClassInfo) |
使用指定域类型的新实例化扩展扩展此 ModelElement。 如果该元素已经具有该类型的扩展,则将引发 InvalidOperationException。 |
| AddExtension(ModelElement, ExtensionElement) |
使用特定扩展扩展此 ModelElement。 如果该元素已具有相同类型的扩展,则将引发 InvalidOperationException。 |
| AddExtension(ModelElement, Guid) |
将此 ModelElement 扩展到已标识域类型的新实例化扩展。 如果该元素已经具有该类型的扩展,则将引发 InvalidOperationException。 |
| AddExtension(ModelElement, Type) |
使用指定类型的新实例化扩展来扩展此 ModelElement。 如果该元素已经具有该类型的扩展,则将引发 InvalidOperationException。 |
| AddExtension<T>(ModelElement) |
使用特定类型的新实例化扩展来扩展此 ModelElement。 如果该元素已具有相同类型的扩展,则将引发 InvalidOperationException。 |
| GetAllExtensions(ModelElement) |
返回一个可枚举,它在此 ModelElement 中嵌入的扩展元素树中执行广度优先遍历。 |
| GetBaseElement(ModelElement) |
返回指定的 ModelElement 参与到的虚拟 MEL 的根。 |
| GetExtension(ModelElement, DomainClassInfo) | |
| GetExtension(ModelElement, Guid) | |
| GetExtension(ModelElement, Type) |
从此 ModelElement 的可用扩展中获取指定类型的 Extensionextendselement.extensionelement。 如果元素没有此类扩展,则将引发 InvalidOperationException。 |
| GetExtension<T>(ModelElement) |
从此 ModelElement 的可用扩展中获取指定类型的 Extensionextendselement.extensionelement。 如果元素没有此类扩展,则将引发 InvalidOperationException。 |
| IsExtendedBy(ModelElement, DomainClassInfo) |
查询此 ModelElement 当前是否由特定类型的 Extensionextendselement.extensionelement 扩展。 |
| IsExtendedBy(ModelElement, Guid) |
查询此 ModelElement 当前是否由特定类型的 Extensionextendselement.extensionelement 扩展。 |
| IsExtendedBy(ModelElement, Type) |
查询此 ModelElement 当前是否由特定类型的 Extensionextendselement.extensionelement 扩展。 |
| RemoveExtension(ModelElement, DomainClassInfo) |
删除指定 ModelElement 的任何属于特定类型的扩展。 |
| RemoveExtension(ModelElement, ExtensionElement) |
从此 ModelElement 的扩展中删除指定的 Extensionextendselement.extensionelement。 |
| RemoveExtension(ModelElement, Guid) |
删除指定 ModelElement 的任何属于特定类型的扩展。 |
| RemoveExtension(ModelElement, Type) |
删除此 ModelElement 的任何属于特定类型的扩展。 |
| TryGetExtension(ModelElement, DomainClassInfo) | |
| TryGetExtension(ModelElement, Guid) | |
| TryGetExtension(ModelElement, Type) | |
| TryGetExtension<T>(ModelElement) |
从此 ModelElement 的可用扩展中获取指定类型的 Extensionextendselement.extensionelement。 如果此元素没有此类扩展,则结果将为 null。 |
| CanDelete(ModelElement, Guid[]) |
从模型中删除元素。 |
| GetLocks(ModelElement) |
获取此元素的锁定标志。 这将包括在包含元素的分区上启用的任何锁。 |
| IsLocked(ModelElement, Locks) |
测试此元素是否具有指定的一组锁 |
| SetLocks(ModelElement, Locks) |
设置此元素的锁定标志 |