IWDTFTarget2::HasContext method

Determines whether a given context exists for the target.

Syntax


HRESULT HasContext(
  [in]           BSTR Tag,
  [out, retval]  VARIANT_BOOL *pResult
);

Parameters

Tag [in]

The context name.

pResult [out, retval]

True if the named context exists; otherwise, false.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP Professional

Minimum supported server

Windows Server 2008

Namespace

Microsoft.WDTF

Assembly

WDTF.Interop.metadata_dll

Header

WDTF.h

IDL

WDTF.idl

See also

IWDTFTarget2

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft