Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Retrieves the value associated with the specified source control option.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetSccToolsOption ( _
sctoOptionToBeSet As SccToolsOptionsEnum, _
<OutAttribute> ByRef pvarValueToGet As Object _
) As Integer
'Usage
Dim instance As IVsSccToolsOptions
Dim sctoOptionToBeSet As SccToolsOptionsEnum
Dim pvarValueToGet As Object
Dim returnValue As Integer
returnValue = instance.GetSccToolsOption(sctoOptionToBeSet, _
pvarValueToGet)
int GetSccToolsOption(
SccToolsOptionsEnum sctoOptionToBeSet,
out Object pvarValueToGet
)
int GetSccToolsOption(
[InAttribute] SccToolsOptionsEnum sctoOptionToBeSet,
[OutAttribute] Object^% pvarValueToGet
)
abstract GetSccToolsOption :
sctoOptionToBeSet:SccToolsOptionsEnum *
pvarValueToGet:Object byref -> int
function GetSccToolsOption(
sctoOptionToBeSet : SccToolsOptionsEnum,
pvarValueToGet : Object
) : int
Parameters
- sctoOptionToBeSet
Type: Microsoft.VisualStudio.Shell.Interop.SccToolsOptionsEnum
[in] A value from the __SccToolsOptionsEnum enumeration.
- pvarValueToGet
Type: System.Object%
[out] Returns the value associated with the specified option.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From ivsscctoolsoptions.idl
HRESULT GetSccToolsOption(
[in] SccToolsOptionsEnum sctoOptionToBeSet,
[out,retval] VARIANT *pvarValueToGet
);
Only those options listed in the __SccToolsOptionsEnum enumeration can be set with this method.
Values can be set using the SetSccToolsOption method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.