TextDataModelContentTypeChangedEventArgs Constructor
Initializes a new instance of TextDataModelContentTypeChangedEventArgs.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
‘선언
Public Sub New ( _
beforeContentType As IContentType, _
afterContentType As IContentType _
)
public TextDataModelContentTypeChangedEventArgs(
IContentType beforeContentType,
IContentType afterContentType
)
public:
TextDataModelContentTypeChangedEventArgs(
IContentType^ beforeContentType,
IContentType^ afterContentType
)
new :
beforeContentType:IContentType *
afterContentType:IContentType -> TextDataModelContentTypeChangedEventArgs
public function TextDataModelContentTypeChangedEventArgs(
beforeContentType : IContentType,
afterContentType : IContentType
)
Parameters
- beforeContentType
Type: Microsoft.VisualStudio.Utilities.IContentType
The IContentType of the ITextDataModel before the change.
- afterContentType
Type: Microsoft.VisualStudio.Utilities.IContentType
The IContentType of the ITextDataModel after the change.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.