Partager via


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

See Also

Reference

IAppxShareExtension Interface

Microsoft.VisualStudio.Shell.Interop Namespace