VsLocalUserDataClass.SetData(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.
Set user data to a buffer.
public:
virtual int SetData(Guid % riidKey, System::Object ^ vtData) = Microsoft::VisualStudio::TextManager::Interop::IVsUserData::SetData;
public:
virtual int SetData(Guid % riidKey, System::Object ^ vtData);
public virtual int SetData (ref Guid riidKey, object vtData);
abstract member SetData : Guid * obj -> int
override this.SetData : Guid * obj -> int
Public Overridable Function SetData (ByRef riidKey As Guid, vtData As Object) As Integer
Parameters
- riidKey
- Guid
[in] Unique identifier of the data.
- vtData
- Object
[in] Data to be set.
Returns
If the method succeeds, it returns S_OK; otherwise, it returns an error code.