ClientNameAttribute Class

Definition

Attribute used to provide additional metadata describing when a language client should be loaded.

public ref class ClientNameAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property)]
[System.ComponentModel.Composition.MetadataAttribute]
public class ClientNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type ClientNameAttribute = class
    inherit Attribute
Public Class ClientNameAttribute
Inherits Attribute
Inheritance
ClientNameAttribute
Attributes

Remarks

When defined, language clients will only activate and/or handle individual features if an ILanguageClient's ClientName metadata matches wath's stored in a text buffer's properties.

Constructors

ClientNameAttribute(String)

Initializes a new instance of the ClientNameAttribute class.

Properties

ClientName

Gets the value which indicates the client name metadata.

Applies to