PropertyHasType.Property 属性
DomainRole 属性的类型。
命名空间: Microsoft.VisualStudio.Modeling.DslDefinition
程序集: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)
语法
声明
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.Category", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("29218f5c-bfa4-4180-82b9-33cf0e6429b4")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Type", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.PropertyDisplayName", _
PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, _
Multiplicity := Multiplicity.ZeroOne)> _
Public Property Property As DomainProperty
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.Category",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("29218f5c-bfa4-4180-82b9-33cf0e6429b4")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Type", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.PropertyDisplayName",
PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,
Multiplicity = Multiplicity.ZeroOne)]
public DomainProperty Property { get; set; }
属性值
类型:Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。