共用方式為


IBraceCompletionDefaultProvider 介面

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.

命名空間:  Microsoft.VisualStudio.Text.BraceCompletion
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

'宣告
Public Interface IBraceCompletionDefaultProvider
public interface IBraceCompletionDefaultProvider
public interface class IBraceCompletionDefaultProvider
type IBraceCompletionDefaultProvider =  interface end
public interface IBraceCompletionDefaultProvider

備註

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

範例

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

[Export(typeof(IBraceCompletionDefaultProvider))]

請參閱

參考

Microsoft.VisualStudio.Text.BraceCompletion 命名空間