共用方式為


VsLocalUserData Interface

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

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣告
<GuidAttribute("978A8E17-4DF8-432A-9623-D530A26452BC")> _
Public Interface VsLocalUserData _
    Inherits IVsUserData
[GuidAttribute("978A8E17-4DF8-432A-9623-D530A26452BC")]
public interface VsLocalUserData : IVsUserData
[GuidAttribute(L"978A8E17-4DF8-432A-9623-D530A26452BC")]
public interface class VsLocalUserData : IVsUserData
[<GuidAttribute("978A8E17-4DF8-432A-9623-D530A26452BC")>]
type VsLocalUserData =  
    interface
        interface IVsUserData
    end
public interface VsLocalUserData extends IVsUserData

The VsLocalUserData type exposes the following members.

Methods

  Name Description
Public method GetData Returns user data from a buffer. (Inherited from IVsUserData.)
Public method SetData Sets user data to a buffer. (Inherited from IVsUserData.)

Top

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace