共用方式為


VsUserData 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 VsUserData _
    Inherits IVsUserData
'用途
Dim instance As VsUserData
[GuidAttribute("978A8E17-4DF8-432A-9623-D530A26452BC")]
public interface VsUserData : IVsUserData
[GuidAttribute(L"978A8E17-4DF8-432A-9623-D530A26452BC")]
public interface class VsUserData : IVsUserData
[<GuidAttribute("978A8E17-4DF8-432A-9623-D530A26452BC")>]
type VsUserData =  
    interface
        interface IVsUserData
    end
public interface VsUserData extends IVsUserData

See Also

Reference

VsUserData Members

Microsoft.VisualStudio.TextManager.Interop Namespace