Export (0) Print
Expand All

VsUserDataClass Class

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

System.Object
  Microsoft.VisualStudio.TextManager.Interop.VsUserDataClass

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

[ClassInterfaceAttribute()]
[GuidAttribute("F5E7E718-1401-11D1-883B-0000F87579D2")]
public class VsUserDataClass : IVsUserData, 
	VsUserData

The VsUserDataClass type exposes the following members.

  NameDescription
Public methodVsUserDataClassCreates a new instance of the class.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetDataReturns user data from a buffer.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetDataSets user data to a buffer.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft