IVsTextView3::DoesViewSupportRole Method (String^, Int32)

 

Determines whether the view supports the specified role.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.11.0 (in Microsoft.VisualStudio.TextManager.Interop.11.0.dll)

int DoesViewSupportRole(
	String^ pszRole,
	[OutAttribute] int% pbContainsRole
)

Parameters

pszRole
Type: System::String^

[in] The specified role.

pbContainsRole
Type: System::Int32

[out] Value is true if the specified role is supported; otherwise, false.

Return Value

Type: System::Int32

Returns S_OK if the method is successful; otherwise, returns an error code.

Return to top
Show: