共用方式為


VsUserData Interface

Definition

Allows a caller to use a GUID to set or get user data (properties). See IVsUserData.

public interface class VsUserData : Microsoft::VisualStudio::TextManager::Interop::IVsUserData
public interface class VsUserData : Microsoft::VisualStudio::TextManager::Interop::IVsUserData
__interface VsUserData : Microsoft::VisualStudio::TextManager::Interop::IVsUserData
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsUserDataClass))]
[System.Runtime.InteropServices.Guid("978A8E17-4DF8-432A-9623-D530A26452BC")]
public interface VsUserData : Microsoft.VisualStudio.TextManager.Interop.IVsUserData
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsUserDataClass))]
[System.Runtime.InteropServices.Guid("978A8E17-4DF8-432A-9623-D530A26452BC")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface VsUserData : Microsoft.VisualStudio.TextManager.Interop.IVsUserData
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsUserDataClass))>]
[<System.Runtime.InteropServices.Guid("978A8E17-4DF8-432A-9623-D530A26452BC")>]
type VsUserData = interface
    interface IVsUserData
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsUserDataClass))>]
[<System.Runtime.InteropServices.Guid("978A8E17-4DF8-432A-9623-D530A26452BC")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type VsUserData = interface
    interface IVsUserData
Public Interface VsUserData
Implements IVsUserData
Derived
Attributes
Implements

Methods

GetData(Guid, Object)

Returns user data from a buffer.

(Inherited from IVsUserData)
SetData(Guid, Object)

Sets user data to a buffer.

(Inherited from IVsUserData)

Applies to