ISchemaReferenceInfo.GetTargetNamespace(String) Method

Definition

Retrieves the namespace of the discovered schema.

C++/WinRT
int GetTargetNamespace([Runtime::InteropServices::Out] std::wstring const & & pbstrRef);

Parameters

pbstrRef
String

[out] Pointer to a string containing schema's namespace.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From discoveryservice.idl:

cpp#
HRESULT ISchemaReferenceInfo::GetTargetNamespace(  
   [out, retval] BSTR * pbstrRef  
);  

Applies to

製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022