Partager via


IVsSettingsReader.ReadFileVersion Method

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

Syntax

'Déclaration
Function ReadFileVersion ( _
    <OutAttribute> ByRef pnMajor As Integer, _
    <OutAttribute> ByRef pnMinor As Integer, _
    <OutAttribute> ByRef pnBuild As Integer, _
    <OutAttribute> ByRef pnRevision As Integer _
) As Integer
'Utilisation
Dim instance As IVsSettingsReader
Dim pnMajor As Integer
Dim pnMinor As Integer
Dim pnBuild As Integer
Dim pnRevision As Integer
Dim returnValue As Integer

returnValue = instance.ReadFileVersion(pnMajor, _
    pnMinor, pnBuild, pnRevision)
int ReadFileVersion(
    out int pnMajor,
    out int pnMinor,
    out int pnBuild,
    out int pnRevision
)
int ReadFileVersion(
    [OutAttribute] int% pnMajor, 
    [OutAttribute] int% pnMinor, 
    [OutAttribute] int% pnBuild, 
    [OutAttribute] int% pnRevision
)
abstract ReadFileVersion : 
        pnMajor:int byref * 
        pnMinor:int byref * 
        pnBuild:int byref * 
        pnRevision:int byref -> int 
function ReadFileVersion(
    pnMajor : int, 
    pnMinor : int, 
    pnBuild : int, 
    pnRevision : int
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsSettingsReader Interface

IVsSettingsReader Members

Microsoft.VisualStudio.Shell.Interop Namespace