次の方法で共有


FlavoredProject.ParseCanonicalName(String, UInt32) Method

Definition

Returns the identifier of the hierarchy item, given its canonical name.

protected:
 virtual int ParseCanonicalName(System::String ^ name, [Runtime::InteropServices::Out] System::UInt32 % itemId);
 virtual int ParseCanonicalName(std::wstring const & name, [Runtime::InteropServices::Out] unsigned int & itemId);
protected virtual int ParseCanonicalName (string name, out uint itemId);
abstract member ParseCanonicalName : string * uint32 -> int
override this.ParseCanonicalName : string * uint32 -> int
Protected Overridable Function ParseCanonicalName (name As String, ByRef itemId As UInteger) As Integer

Parameters

name
String

The canonical name of the item.

itemId
UInt32

[out] The ID of the item.

Returns

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

Remarks

This method calls the ParseCanonicalName method on the inner project.

Applies to