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
selectorData
Type: Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.