IVsContextualIntellisenseFilter.IsTypeVisible Method
Indicates whether or not the type is visible.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function IsTypeVisible ( _
szTypeName As String, _
<OutAttribute> ByRef pfVisible As Integer _
) As Integer
'Usage
Dim instance As IVsContextualIntellisenseFilter
Dim szTypeName As String
Dim pfVisible As Integer
Dim returnValue As Integer
returnValue = instance.IsTypeVisible(szTypeName, _
pfVisible)
int IsTypeVisible(
string szTypeName,
out int pfVisible
)
int IsTypeVisible(
[InAttribute] String^ szTypeName,
[OutAttribute] int% pfVisible
)
function IsTypeVisible(
szTypeName : String,
pfVisible : int
) : int
Parameters
szTypeName
Type: System.String[in] String containing the full name of the type to check.
pfVisible
Type: System.Int32%[out] Pointer to a Boolean. Set to true if the member is visible.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsContextualIntellisenseFilter::IsTypeVisible(
[in] LPCOLESTR szTypeName,
[out] BOOL* pfVisible
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsContextualIntellisenseFilter Interface