共用方式為


IClassificationFormatMap.GetEditorFormatMapKey(IClassificationType) Method

Definition

Gets the key used to store the associated properties of classificationType in the underlying IEditorFormatMap.

public:
 System::String ^ GetEditorFormatMapKey(Microsoft::VisualStudio::Text::Classification::IClassificationType ^ classificationType);
public:
 Platform::String ^ GetEditorFormatMapKey(Microsoft::VisualStudio::Text::Classification::IClassificationType ^ classificationType);
std::wstring GetEditorFormatMapKey(Microsoft::VisualStudio::Text::Classification::IClassificationType const & classificationType);
public string GetEditorFormatMapKey (Microsoft.VisualStudio.Text.Classification.IClassificationType classificationType);
abstract member GetEditorFormatMapKey : Microsoft.VisualStudio.Text.Classification.IClassificationType -> string
Public Function GetEditorFormatMapKey (classificationType As IClassificationType) As String

Parameters

classificationType
IClassificationType

The IClassificationType whose key is returned.

Returns

The key that's used to store the properties of classificationType in the underlying IEditorFormatMap.

Applies to