IVsTextView3.DoesViewSupportRole(String, Int32) Method
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.
Determines whether the view supports the specified role.
public:
int DoesViewSupportRole(System::String ^ pszRole, [Runtime::InteropServices::Out] int % pbContainsRole);
int DoesViewSupportRole(std::wstring const & pszRole, [Runtime::InteropServices::Out] int & pbContainsRole);
public int DoesViewSupportRole (string pszRole, out int pbContainsRole);
abstract member DoesViewSupportRole : string * int -> int
Public Function DoesViewSupportRole (pszRole As String, ByRef pbContainsRole As Integer) As Integer
Parameters
- pszRole
- String
[in] The specified role.
- pbContainsRole
- Int32
[out] Value is true if the specified role is supported; otherwise, false.
Returns
Returns S_OK if the method is successful; otherwise, returns an error code.