Partager via


FlavoredProject.ParseCanonicalName Method

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

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

Syntax

'Declaration
Protected Overridable Function ParseCanonicalName ( _
    name As String, _
    <OutAttribute> ByRef itemId As UInteger _
) As Integer
protected virtual int ParseCanonicalName(
    string name,
    out uint itemId
)
protected:
virtual int ParseCanonicalName(
    String^ name, 
    [OutAttribute] unsigned int% itemId
)
abstract ParseCanonicalName : 
        name:string * 
        itemId:uint32 byref -> int  
override ParseCanonicalName : 
        name:string * 
        itemId:uint32 byref -> int
protected function ParseCanonicalName(
    name : String, 
    itemId : uint
) : int

Parameters

  • name
    Type: String

    The canonical name of the item.

  • itemId
    Type: UInt32%

    [out] The ID of the item.

Return Value

Type: 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.

.NET Framework Security

See Also

Reference

FlavoredProject Class

Microsoft.VisualStudio.Shell.Flavor Namespace