다음을 통해 공유


DslLibraryBase.AccessModifier Property

Gets or sets the value of AccessModifier domain property. Determines if the access modifier for the class generated from the DSL library is public or internal.

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.DslLibrary/AccessModifier.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/AccessModifier.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/AccessModifier.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("ea3d53f6-7f93-4726-8d2a-266bc3666087")> _
Public Property AccessModifier As TypeAccessModifier
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/AccessModifier.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/AccessModifier.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/AccessModifier.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("ea3d53f6-7f93-4726-8d2a-266bc3666087")]
public TypeAccessModifier AccessModifier { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/AccessModifier.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/AccessModifier.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/AccessModifier.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"ea3d53f6-7f93-4726-8d2a-266bc3666087")]
public:
property TypeAccessModifier AccessModifier {
    TypeAccessModifier get ();
    void set (TypeAccessModifier value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/AccessModifier.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/AccessModifier.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/AccessModifier.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("ea3d53f6-7f93-4726-8d2a-266bc3666087")>]
member AccessModifier : TypeAccessModifier with get, set
function get AccessModifier () : TypeAccessModifier 
function set AccessModifier (value : TypeAccessModifier)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.TypeAccessModifier

.NET Framework Security

See Also

Reference

DslLibraryBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace