FlavoredProject.ParseCanonicalName Method

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

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣言
Protected Overridable Function ParseCanonicalName ( _
    name As String, _
    <OutAttribute> ByRef itemId As UInteger _
) As Integer
'使用
Dim name As String
Dim itemId As UInteger
Dim returnValue As Integer

returnValue = Me.ParseCanonicalName(name, _
    itemId)
protected virtual int ParseCanonicalName(
    string name,
    out uint itemId
)
protected:
virtual int ParseCanonicalName(
    String^ name, 
    [OutAttribute] unsigned int% itemId
)
protected function ParseCanonicalName(
    name : String, 
    itemId : uint
) : int

Parameters

Return Value

Type: System.Int32

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.

Permissions

See Also

Reference

FlavoredProject Class

FlavoredProject Members

Microsoft.VisualStudio.Shell.Flavor Namespace