共用方式為


IVsNavInfoNode.get_Name(String) Method

Definition

Gets the name of the node.

public:
 int get_Name([Runtime::InteropServices::Out] System::String ^ % pbstrName);
public int get_Name (out string pbstrName);
abstract member get_Name : string -> int
Public Function get_Name (ByRef pbstrName As String) As Integer

Parameters

pbstrName
String

[out] The name of the node. The name must be unique. It can be different from the displayed name. If the node is renamed, the new name is returned.

Returns

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

Applies to