共用方式為


ContentTypeChangedEventArgs.BeforeContentType Property

The IContentType before the change occurred.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'宣告
Public ReadOnly Property BeforeContentType As IContentType
public IContentType BeforeContentType { get; }
public:
property IContentType^ BeforeContentType {
    IContentType^ get ();
}
member BeforeContentType : IContentType
function get BeforeContentType () : IContentType

Property Value

Type: Microsoft.VisualStudio.Utilities.IContentType
The content type before the change.

.NET Framework Security

See Also

Reference

ContentTypeChangedEventArgs Class

Microsoft.VisualStudio.Text Namespace