Freigeben über


IVsSettingsWriter.WriteCategoryVersion Method

Sets the value of a category version object stored in the Visual Studio settings file.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function WriteCategoryVersion ( _
    nMajor As Integer, _
    nMinor As Integer, _
    nBuild As Integer, _
    nRevision As Integer _
) As Integer
int WriteCategoryVersion(
    int nMajor,
    int nMinor,
    int nBuild,
    int nRevision
)
int WriteCategoryVersion(
    [InAttribute] int nMajor, 
    [InAttribute] int nMinor, 
    [InAttribute] int nBuild, 
    [InAttribute] int nRevision
)
abstract WriteCategoryVersion : 
        nMajor:int * 
        nMinor:int * 
        nBuild:int * 
        nRevision:int -> int
function WriteCategoryVersion(
    nMajor : int, 
    nMinor : int, 
    nBuild : int, 
    nRevision : int
) : int

Parameters

  • nMajor
    Type: Int32

    [in] The major version number of the category.

  • nMinor
    Type: Int32

    [in] The minor version number of the category.

  • nBuild
    Type: Int32

    [in] The build number of the category.

  • nRevision
    Type: Int32

    [in] The revision number of the category.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsSettingsWriter Interface

Microsoft.VisualStudio.Shell.Interop Namespace