ISchemaReferenceInfo.GetTargetNamespace(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the namespace of the discovered schema.
public:
int GetTargetNamespace([Runtime::InteropServices::Out] System::String ^ % pbstrRef);
C++/WinRT
int GetTargetNamespace([Runtime::InteropServices::Out] std::wstring const & & pbstrRef);
public int GetTargetNamespace(out string pbstrRef);
abstract member GetTargetNamespace : string -> int
Public Function GetTargetNamespace (ByRef pbstrRef As String) As Integer
- pbstrRef
- String
[out] Pointer to a string containing schema's namespace.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From discoveryservice.idl:
cpp#
HRESULT ISchemaReferenceInfo::GetTargetNamespace(
[out, retval] BSTR * pbstrRef
);
製品 | バージョン |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |