Validation.UsesMenu Property
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.dll)
Syntax
'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesMenu.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesMenu.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("3cac04de-e478-4ddf-851d-eecd40b8784c")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesMenu.Category", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property UsesMenu As Boolean
'Usage
Dim instance As Validation
Dim value As Boolean
value = instance.UsesMenu
instance.UsesMenu = value
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesMenu.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesMenu.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("3cac04de-e478-4ddf-851d-eecd40b8784c")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesMenu.Category",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public bool UsesMenu { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesMenu.DisplayName",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesMenu.Description",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"3cac04de-e478-4ddf-851d-eecd40b8784c")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Validation/UsesMenu.Category",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property bool UsesMenu {
bool get ();
void set (bool value);
}
public function get UsesMenu () : boolean
public function set UsesMenu (value : boolean)
Property Value
Type: System.Boolean
.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.