다음을 통해 공유


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

‘선언
<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
Public method UserContext() This constructor is not used by the Visual Studio SDK. Initializes a new instance of the UserContext class.
Public method UserContext(String) This constructor is not used by the Visual Studio SDK. Initializes a new instance of the UserContext class from a string.
Public method 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
Public propertyStatic member Empty This property is not used by the Visual Studio SDK. Gets a value that indicates whether this Help context contains any Help elements.
Public property F1Keyword This property is not used by the Visual Studio SDK. Gets or sets the F1 keyword.
Public property UserContextElements This property is not used by the Visual Studio SDK. Gets all Help elements.

Top

Methods

  Name Description
Public method Add This method is not used by the Visual Studio SDK. Adds a Help element to this Help context.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SaveToString This method is not used by the Visual Studio SDK. Returns a serialized version of the Help context.
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Modeling.Design Namespace

HelpKeywordAttribute

HelpKeywordType

IHelpService