VsLocalUserDataClass.GetData(Guid, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns user data from a buffer.
public:
virtual int GetData(Guid % riidKey, [Runtime::InteropServices::Out] System::Object ^ % pvtData) = Microsoft::VisualStudio::TextManager::Interop::IVsUserData::GetData;
public:
virtual int GetData(Guid % riidKey, [Runtime::InteropServices::Out] System::Object ^ % pvtData);
public virtual int GetData (ref Guid riidKey, out object pvtData);
abstract member GetData : Guid * obj -> int
override this.GetData : Guid * obj -> int
Public Overridable Function GetData (ByRef riidKey As Guid, ByRef pvtData As Object) As Integer
Parameters
- riidKey
- Guid
[in] Unique identifier of the data.
- pvtData
- Object
[out] Pointer to a VARIANT containing the user data.
Returns
If the method succeeds, it returns S_OK; otherwise, it returns an error code.