共用方式為


DocData.SetData(Guid, Object) Method

Definition

Implementation of IVsUserData.SetData Called by IVsCodePageSelection.ShowEncodingDialog to return the selected encoding.

public:
 virtual int SetData(Guid % riidKey, System::Object ^ vtData);
public int SetData (ref Guid riidKey, object vtData);
abstract member SetData : Guid * obj -> int
override this.SetData : Guid * obj -> int
Public Function SetData (ByRef riidKey As Guid, vtData As Object) As Integer

Parameters

riidKey
Guid

The type of data being set.

vtData
Object

the actual data set.

Returns

Implements

Applies to