Export (0) Print
Expand All
Expand Minimize

LanguageService.Microsoft.VisualStudio.TextManager.Interop.IVsFormatFilterProvider.QueryInvalidEncoding Method

Visual Studio 2005

Determines if the specified source format is valid or not.

This method is not CLS-compliant.  

Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in microsoft.visualstudio.package.languageservice.dll)

int IVsFormatFilterProvider.QueryInvalidEncoding (
	uint format,
	out string pbstrMessage
)
J# supports the use of explicit interface implementations, but not the declaration of new ones.
JScript does not support passing value-type arguments by reference.

Parameters

format

[in] The format to test. This is a value from __VSTFF enumeration.

pbstrMessage

[out] An error string describing why or how the format is invalid. Could be as simple as "The XX format is not supported."

Return Value

If the format is not supported, returns S_OK; otherwise, return S_FALSE (the format is supported).

The base method calls the other LanguageService.QueryInvalidEncoding and converting the return values of true and false to S_OK and S_FALSE, respectively.

Community Additions

ADD
Show:
© 2015 Microsoft