Condividi tramite


IBraceCompletionDefaultProvider Interface

An extension point for the default non-language-specific brace completion behavior. It should be used to export metadata containing the opening and closing braces to provide for the given ContentType.

Namespace:  Microsoft.VisualStudio.Text.BraceCompletion
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
Public Interface IBraceCompletionDefaultProvider
public interface IBraceCompletionDefaultProvider
public interface class IBraceCompletionDefaultProvider
type IBraceCompletionDefaultProvider =  interface end
public interface IBraceCompletionDefaultProvider

Remarks

Exports must include at least one [BracePair] attribute and at least one [ContentType] attribute.

Examples

This is a MEF component part, and should be exported with the following attribute:

[Export(typeof(IBraceCompletionDefaultProvider))]

See Also

Reference

Microsoft.VisualStudio.Text.BraceCompletion Namespace