TextDecorator.DefaultText Property
Gets or sets the value of DefaultText domain property. Default text to be displayed, when the decorator is unmapped.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.Category", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DomainObjectIdAttribute("53c77c7d-fdfc-4cc9-90c1-7193aaed639a")> _
Public Property DefaultText As String
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.Category",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DomainObjectIdAttribute("53c77c7d-fdfc-4cc9-90c1-7193aaed639a")]
public string DefaultText { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.DisplayName",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.Category",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.Description",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind::CustomStorage)]
[DomainObjectIdAttribute(L"53c77c7d-fdfc-4cc9-90c1-7193aaed639a")]
public:
property String^ DefaultText {
String^ get ();
void set (String^ value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.Category",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/DefaultText.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)>]
[<DomainObjectIdAttribute("53c77c7d-fdfc-4cc9-90c1-7193aaed639a")>]
member DefaultText : string with get, set
function get DefaultText () : String
function set DefaultText (value : String)
Property Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.