Compartilhar via


DslLibraryBase.MajorVersion Property

Gets or sets the value of MajorVersion domain property. First part of the four part version number.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Declaração
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/MajorVersion.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/MajorVersion.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("0cf69a90-cf66-4db5-b7c0-fa984a950c00")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/MajorVersion.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property MajorVersion As Integer
    Get
    Set
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/MajorVersion.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/MajorVersion.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("0cf69a90-cf66-4db5-b7c0-fa984a950c00")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/MajorVersion.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public int MajorVersion { get; set; }
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/MajorVersion.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/MajorVersion.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"0cf69a90-cf66-4db5-b7c0-fa984a950c00")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/MajorVersion.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property int MajorVersion {
    int get ();
    void set (int value);
}
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/MajorVersion.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/MajorVersion.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("0cf69a90-cf66-4db5-b7c0-fa984a950c00")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary/MajorVersion.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member MajorVersion : int with get, set
function get MajorVersion () : int
function set MajorVersion (value : int)

Property Value

Type: System.Int32

.NET Framework Security

See Also

Reference

DslLibraryBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace