Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
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.