IVsGlobalsCallback2::WriteVariablesToData Method (String^, Object^)

 

Writes the name and value of a solution global. How and where the method writes the name and value pair is implementation dependent.

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

int WriteVariablesToData(
	String^ pVariableName,
	[InAttribute] Object^% varData
)

Parameters

pVariableName
Type: System::String^

[in] Pointer to a string containing the variable's name.

varData
Type: System::Object^

[in] Pointer to a VARIANT containing the variable's value.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: