UserContext Class
Note: This API is now obsolete.
This class is not used by the Visual Studio SDK. (See Remarks.) Represents a Help context.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Design.UserContext
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
<SerializableAttribute> _
<TypeConverterAttribute(GetType(UserContextTypeConverter))> _
<ObsoleteAttribute("This class is deprecated. Use the facilities in the DSL domain model to define help system bindings.")> _
Public Class UserContext
[SerializableAttribute]
[TypeConverterAttribute(typeof(UserContextTypeConverter))]
[ObsoleteAttribute("This class is deprecated. Use the facilities in the DSL domain model to define help system bindings.")]
public class UserContext
[SerializableAttribute]
[TypeConverterAttribute(typeof(UserContextTypeConverter))]
[ObsoleteAttribute(L"This class is deprecated. Use the facilities in the DSL domain model to define help system bindings.")]
public ref class UserContext
[<SerializableAttribute>]
[<TypeConverterAttribute(typeof(UserContextTypeConverter))>]
[<ObsoleteAttribute("This class is deprecated. Use the facilities in the DSL domain model to define help system bindings.")>]
type UserContext = class end
public class UserContext
The UserContext type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UserContext() | This constructor is not used by the Visual Studio SDK. Initializes a new instance of the UserContext class. | |
UserContext(String) | This constructor is not used by the Visual Studio SDK. Initializes a new instance of the UserContext class from a string. | |
UserContext(XmlNodeList) | This constructor is not used by the Visual Studio SDK. Initializes a new instance of the UserContext class from XML. |
Top
Properties
Name | Description | |
---|---|---|
Empty | This property is not used by the Visual Studio SDK. Gets a value that indicates whether this Help context contains any Help elements. | |
F1Keyword | This property is not used by the Visual Studio SDK. Gets or sets the F1 keyword. | |
UserContextElements | This property is not used by the Visual Studio SDK. Gets all Help elements. |
Top
Methods
Name | Description | |
---|---|---|
Add | This method is not used by the Visual Studio SDK. Adds a Help element to this Help context. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SaveToString | This method is not used by the Visual Studio SDK. Returns a serialized version of the Help context. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
The DSL Tools use types in the System.ComponentModel.Design namespace to support the display of Help topics.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.