IAppxShareExtension.HasDataFormat Method
Determines whether the Share extension contains the specified data format.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Function HasDataFormat ( _
dataFormat As String _
) As Boolean
bool HasDataFormat(
string dataFormat
)
bool HasDataFormat(
[InAttribute] String^ dataFormat
)
abstract HasDataFormat :
dataFormat:string -> bool
function HasDataFormat(
dataFormat : String
) : boolean
Parameters
dataFormat
Type: String[in] The data format to be checked.
Return Value
Type: Boolean
true if the Share extension contains the data format.
.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.