ConnectorHasDecorators.OffsetFromLine 属性
获取或设置 OffsetFromLine 字段的特性的值。 按修饰器的英寸从行的相对于其默认位置。
命名空间: Microsoft.VisualStudio.Modeling.DslDefinition
程序集: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)
语法
声明
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.Category", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("bd7f821f-6cd4-4e01-b8ea-cc899432b29d")> _
Public Property OffsetFromLine As Double
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators/OffsetFromLine.Category",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("bd7f821f-6cd4-4e01-b8ea-cc899432b29d")]
public double OffsetFromLine { get; set; }
属性值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。