ExtensionContextExtensions Class

 
Namespace:   Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement::ExtensionContextExtensions

[ExtensionAttribute]
public ref class ExtensionContextExtensions abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAtLeastOneSelected<T>(IVsSelectionContext^)

Helper returning true if the selection contains at least an element of type T

System_CAPS_pubmethodSystem_CAPS_staticAtLeastOneSelected<T1, T2>(IVsSelectionContext^)

Helper returning true if the selection contains at least an element of type T1 or T2.

System_CAPS_pubmethodSystem_CAPS_staticGetCurrentDocumentSelection<T>(IVsSelectionContext^)

Get the subset of the current document selection which is of type T

System_CAPS_pubmethodSystem_CAPS_staticGetCurrentSelection<T>(IVsSelectionContext^)

Get the subset of the current selection which is of type T

System_CAPS_pubmethodSystem_CAPS_staticIsAnyDocumentSelectionUndeletable(IVsSelectionContext^)

Returns whether any of the shape items in the selection list cannot be deleted. This implementation checks for Compartment and MoveableHostShape shapes.

System_CAPS_pubmethodSystem_CAPS_staticIsSingleDocumentSelection(IVsSelectionContext^)

Returns whether or not there is only one selected item on the active document.

System_CAPS_pubmethodSystem_CAPS_staticIsSingleSelection(IVsSelectionContext^)

Returns whether or not there is only one selected item on the active window. This could be a document or tool window.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: