TextViewRoleAttribute Constructor (String^)

 

Construct a new instance of the attribute.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

public:
TextViewRoleAttribute(
	String^ role
)

Parameters

role
Type: System::String^

The case-insensitive name of the role.

Exception Condition
ArgumentNullException

role is null or empty.

Return to top
Show: