PackageUtilities.IsCapabilityMatch Method (String, String)
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function IsCapabilityMatch ( _
capabilities As String, _
capabilityAppliesToExpression As String _
) As Boolean
public static bool IsCapabilityMatch(
string capabilities,
string capabilityAppliesToExpression
)
public:
static bool IsCapabilityMatch(
String^ capabilities,
String^ capabilityAppliesToExpression
)
static member IsCapabilityMatch :
capabilities:string *
capabilityAppliesToExpression:string -> bool
public static function IsCapabilityMatch(
capabilities : String,
capabilityAppliesToExpression : String
) : boolean
Parameters
- capabilities
Type: System.String
- capabilityAppliesToExpression
Type: System.String
Return Value
Type: System.Boolean
.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.