TextViewRoleAttribute(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.