다음을 통해 공유


TextViewRoleAttribute(String) Constructor

Definition

Construct a new instance of the attribute.

public:
 TextViewRoleAttribute(System::String ^ role);
public:
 TextViewRoleAttribute(Platform::String ^ role);
 TextViewRoleAttribute(std::wstring const & role);
public TextViewRoleAttribute (string role);
new Microsoft.VisualStudio.Text.Editor.TextViewRoleAttribute : string -> Microsoft.VisualStudio.Text.Editor.TextViewRoleAttribute
Public Sub New (role As String)

Parameters

role
String

The case-insensitive name of the role.

Exceptions

role is null or empty.

Applies to