Share via


UserContext Class

Definition

Caution

This class is deprecated. Use the facilities in the DSL domain model to define help system bindings.

Class that represents a collection of help elements

public ref class UserContext
[System.ComponentModel.TypeConverter(typeof(Microsoft.VisualStudio.Modeling.Design.UserContextTypeConverter))]
[System.Obsolete("This class is deprecated.  Use the facilities in the DSL domain model to define help system bindings.")]
[System.Serializable]
public class UserContext
[<System.ComponentModel.TypeConverter(typeof(Microsoft.VisualStudio.Modeling.Design.UserContextTypeConverter))>]
[<System.Obsolete("This class is deprecated.  Use the facilities in the DSL domain model to define help system bindings.")>]
[<System.Serializable>]
type UserContext = class
Public Class UserContext
Inheritance
UserContext
Attributes

Constructors

UserContext()
UserContext(String)

load from a string, as saved by SaveToString

UserContext(XmlNodeList)

Properties

Empty

Represents an empty context bag.

F1Keyword
UserContextElements

Returns a read-only collection of context elements

Methods

Add(String, String, UserContextType)

Adds a help element to the collection.

SaveToString()

serialize to a string: [Name Value][Name Value]...

Applies to