共用方式為


GraphBufferContentTypeChangedEventArgs.BeforeContentType Property

Gets the IContentType before the change.

Namespace:  Microsoft.VisualStudio.Text.Projection
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 IContentType before the change.

.NET Framework Security

See Also

Reference

GraphBufferContentTypeChangedEventArgs Class

Microsoft.VisualStudio.Text.Projection Namespace