CustomPropertyDescriptor.TypeDescriptor - свойство
Пути DomainRole класс TypeDescriptor, определяющий свойства, которые необходимо включить в дескрипторе типа.
Пространство имен: Microsoft.VisualStudio.Modeling.DslDefinition
Сборка: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (в Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Синтаксис
'Декларация
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/TypeDescriptor.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/TypeDescriptor.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "PathsOfCustomPropertyDescriptors", _
PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/TypeDescriptor.PropertyDisplayName", _
PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, _
Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("a9ef3d01-c8e5-474b-b680-69e2fcf77224")> _
Public Property TypeDescriptor As DomainTypeDescriptor
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/TypeDescriptor.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/TypeDescriptor.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "PathsOfCustomPropertyDescriptors",
PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/TypeDescriptor.PropertyDisplayName",
PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,
Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("a9ef3d01-c8e5-474b-b680-69e2fcf77224")]
public DomainTypeDescriptor TypeDescriptor { get; set; }
Значение свойства
Тип: Microsoft.VisualStudio.Modeling.DslDefinition.DomainTypeDescriptor
Безопасность платформы .NET Framework
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Использование библиотек из не вполне надежного кода.
См. также
Ссылки
CustomPropertyDescriptor Класс
Microsoft.VisualStudio.Modeling.DslDefinition - пространство имен