ActivationConstraint.EditorContentType(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.