IVsUserContext Methods

 

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

NameDescription
System_CAPS_pubmethodAddAttribute(VSUSERCONTEXTATTRIBUTEUSAGE, String^, String^)

Adds an attribute, lookup keyword, or F1 keyword to the context or subcontext bag.

System_CAPS_pubmethodAddSubcontext(IVsUserContext^, Int32, UInt32)

Links a subcontext bag to a parent context bag.

System_CAPS_pubmethodAdviseUpdate(IVsUserContextUpdate^, UInt32)

Enables clients to receive notification when the user context property bag is changed.

System_CAPS_pubmethodCountAttributes(String^, Int32, Int32)

Returns the number of attributes or keywords present in the context or subcontext bag.

System_CAPS_pubmethodCountSubcontexts(Int32)

Returns the number of subcontext bags associated with the context bag.

System_CAPS_pubmethodGetAttribute(Int32, String^, Int32, String^, String^)

Returns the specified attribute or keyword from the context or subcontext bag based on index position or name.

System_CAPS_pubmethodGetAttributePri(Int32, String^, Int32, Int32, String^, String^)

Returns a specified attribute or keyword from the context or subcontext bag based on index position, name, or priority.

System_CAPS_pubmethodGetAttrUsage(Int32, Int32, array<VSUSERCONTEXTATTRIBUTEUSAGE>^)

Returns the type of context (attribute, lookup keyword, or F1 keyword) that is present at a specified index position in the context or subcontext bag.

System_CAPS_pubmethodGetPriority(Int32)

Determines the priority of an attribute or keyword in the context or subcontext bag.

System_CAPS_pubmethodGetSubcontext(Int32, IVsUserContext^)

Returns a specified subcontext bag from the parent context bag.

System_CAPS_pubmethodIsDirty(Int32)

Determines whether the user context has changed in the context or subcontext bag.

System_CAPS_pubmethodRemoveAllSubcontext()

Removes all subcontext bags associated with the context bag.

System_CAPS_pubmethodRemoveAttribute(String^, String^)

Removes an attribute or keyword from a context or subcontext bag.

System_CAPS_pubmethodRemoveAttributeIncludeChildren(String^, String^)

Removes an attribute or keyword from the context bag and from any associated subcontext bags.

System_CAPS_pubmethodRemoveSubcontext(UInt32)

Removes the specified subcontext bag.

System_CAPS_pubmethodSetDirty(Int32)

Flags the context or subcontext bag for update.

System_CAPS_pubmethodUnadviseUpdate(UInt32)

Disables clients from receiving notification of updates to the user context.

System_CAPS_pubmethodUpdate()

Updates user context.

Return to top
Show: