ReferenceContainerNode.CreateFileComponent Method

Creates a new instance of a ReferenceNode of the appropriate type, based on the supplied selector data.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Protected Overridable Function CreateFileComponent ( _
    selectorData As VSCOMPONENTSELECTORDATA _
) As ReferenceNode
'使用
Dim selectorData As VSCOMPONENTSELECTORDATA
Dim returnValue As ReferenceNode

returnValue = Me.CreateFileComponent(selectorData)
protected virtual ReferenceNode CreateFileComponent(
    VSCOMPONENTSELECTORDATA selectorData
)
protected:
virtual ReferenceNode^ CreateFileComponent(
    VSCOMPONENTSELECTORDATA selectorData
)
protected function CreateFileComponent(
    selectorData : VSCOMPONENTSELECTORDATA
) : ReferenceNode

Parameters

Return Value

Type: Microsoft.VisualStudio.Package.ReferenceNode

A AssemblyReferenceNode, or a ComReferenceNode, or a null reference (Nothing in Visual Basic), if the file does not exist or it was not possible to create the node.

Permissions

See Also

Reference

ReferenceContainerNode Class

ReferenceContainerNode Members

Microsoft.VisualStudio.Package Namespace