Partager via


VsLocalUserDataClass Class

Definition

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

public ref class VsLocalUserDataClass : Microsoft::VisualStudio::TextManager::Interop::VsLocalUserData
[Windows::Foundation::Metadata::WebHostHidden]
class VsLocalUserDataClass : Microsoft::VisualStudio::TextManager::Interop::VsLocalUserData
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("5130C7AB-85BB-11D3-B363-00C04F611E41")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsLocalUserDataClass : Microsoft.VisualStudio.TextManager.Interop.VsLocalUserData
[System.Runtime.InteropServices.Guid("5130C7AB-85BB-11D3-B363-00C04F611E41")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class VsLocalUserDataClass : Microsoft.VisualStudio.TextManager.Interop.VsLocalUserData
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("5130C7AB-85BB-11D3-B363-00C04F611E41")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsLocalUserDataClass = class
    interface IVsUserData
    interface VsLocalUserData
[<System.Runtime.InteropServices.Guid("5130C7AB-85BB-11D3-B363-00C04F611E41")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type VsLocalUserDataClass = class
    interface VsLocalUserData
    interface IVsUserData
Public Class VsLocalUserDataClass
Implements VsLocalUserData
Inheritance
VsLocalUserDataClass
Attributes
Implements

Remarks

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Constructors

VsLocalUserDataClass()

Creates a new instance of the class.

Methods

GetData(Guid, Object)

Returns user data from a buffer.

SetData(Guid, Object)

Set user data to a buffer.

Applies to