IVsSccToolsOptions::GetSccToolsOption Method (SccToolsOptionsEnum, Object^)

 

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)

int GetSccToolsOption(
	SccToolsOptionsEnum sctoOptionToBeSet,
	[OutAttribute] Object^% pvarValueToGet
)

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.

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.

Return to top
Show: