Metoda IVsSettingsReader.ReadFileVersion — (Int32, Int32, Int32, Int32)
Zwraca wartość obiektu wersji plików przechowywanych w Visual Studio pliku ustawień.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop.8.0 (w Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Składnia
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 (
<OutAttribute> ByRef pnMajor As Integer,
<OutAttribute> ByRef pnMinor As Integer,
<OutAttribute> ByRef pnBuild As Integer,
<OutAttribute> ByRef pnRevision As Integer
) As Integer
Parametry
pnMajor
Type: System.Int32[out] Główny numer wersji pliku.
pnMinor
Type: System.Int32[out] Pomocniczy numer wersji pliku.
pnBuild
Type: System.Int32[out] Numer kompilacji pliku.
pnRevision
Type: System.Int32[out] Numer wersji pliku.
Wartość zwracana
Type: System.Int32
Jeśli metoda zakończy się pomyślnie, zwraca S_OK. Jeśli nie, zwraca kod błędu.
Zobacz też
Interfejs IVsSettingsReader
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku