Export (0) Print
Expand All

UserContext Class

Note: This API is now obsolete.

This class is not used by the Visual Studio SDK. (See Remarks.) Represents a Help context.

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)

[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

The UserContext type exposes the following members.

  NameDescription
Public methodUserContext()This constructor is not used by the Visual Studio SDK. Initializes a new instance of the UserContext class.
Public methodUserContext(String)This constructor is not used by the Visual Studio SDK. Initializes a new instance of the UserContext class from a string.
Public methodUserContext(XmlNodeList)This constructor is not used by the Visual Studio SDK. Initializes a new instance of the UserContext class from XML.
Top

  NameDescription
Public propertyStatic memberEmptyThis property is not used by the Visual Studio SDK. Gets a value that indicates whether this Help context contains any Help elements.
Public propertyF1KeywordThis property is not used by the Visual Studio SDK. Gets or sets the F1 keyword.
Public propertyUserContextElementsThis property is not used by the Visual Studio SDK. Gets all Help elements.
Top

  NameDescription
Public methodAddThis method is not used by the Visual Studio SDK. Adds a Help element to this Help context.
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 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 methodSaveToStringThis method is not used by the Visual Studio SDK. Returns a serialized version of the Help context.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

The DSL Tools use types in the System.ComponentModel.Design namespace to support the display of Help topics.

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