Compartilhar via


VsUserDataClass Class

Definition

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

public ref class VsUserDataClass : Microsoft::VisualStudio::TextManager::Interop::VsUserData
[Windows::Foundation::Metadata::WebHostHidden]
class VsUserDataClass : Microsoft::VisualStudio::TextManager::Interop::VsUserData
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("F5E7E718-1401-11D1-883B-0000F87579D2")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsUserDataClass : Microsoft.VisualStudio.TextManager.Interop.VsUserData
[System.Runtime.InteropServices.Guid("F5E7E718-1401-11D1-883B-0000F87579D2")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class VsUserDataClass : Microsoft.VisualStudio.TextManager.Interop.VsUserData
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("F5E7E718-1401-11D1-883B-0000F87579D2")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsUserDataClass = class
    interface IVsUserData
    interface VsUserData
[<System.Runtime.InteropServices.Guid("F5E7E718-1401-11D1-883B-0000F87579D2")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type VsUserDataClass = class
    interface VsUserData
    interface IVsUserData
Public Class VsUserDataClass
Implements VsUserData
Inheritance
VsUserDataClass
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

VsUserDataClass()

Creates a new instance of the class.

Methods

GetData(Guid, Object)

Returns user data from a buffer.

SetData(Guid, Object)

Sets user data to a buffer.

Applies to