Share via


ActivationConstraint.EditorContentType(String) Method

Definition

Creates an activation constraint that is true when active editor content type is or inherits from contentType.

public static Microsoft.VisualStudio.Extensibility.ActivationConstraint EditorContentType (string contentType);
static member EditorContentType : string -> Microsoft.VisualStudio.Extensibility.ActivationConstraint
Public Shared Function EditorContentType (contentType As String) As ActivationConstraint

Parameters

contentType
String

Content type to match.

Returns

A constraint that is true when active editor content type is or inherits from contentType.

Applies to