IClassificationFormatMap.SetTextProperties Method
Sets the TextFormattingRunProperties of an IClassificationType.
Namespace: Microsoft.VisualStudio.Text.Classification
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
声明
Sub SetTextProperties ( _
classificationType As IClassificationType, _
properties As TextFormattingRunProperties _
)
void SetTextProperties(
IClassificationType classificationType,
TextFormattingRunProperties properties
)
void SetTextProperties(
IClassificationType^ classificationType,
TextFormattingRunProperties^ properties
)
abstract SetTextProperties :
classificationType:IClassificationType *
properties:TextFormattingRunProperties -> unit
function SetTextProperties(
classificationType : IClassificationType,
properties : TextFormattingRunProperties
)
Parameters
- classificationType
Type: Microsoft.VisualStudio.Text.Classification.IClassificationType
The IClassificationType.
- properties
Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
The new properties.
Remarks
Setting the text properties will cause the ClassificationFormatMappingChanged event to be sent.
.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.