NodeProperties.GetProjectItem Method
This class and its members are reserved for internal use and are not intended to be used in your code.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Overridable Function GetProjectItem ( _
<OutAttribute> ByRef hier As IVsHierarchy, _
<OutAttribute> ByRef itemid As UInteger _
) As Integer
public virtual int GetProjectItem(
out IVsHierarchy hier,
out uint itemid
)
public:
virtual int GetProjectItem(
[OutAttribute] IVsHierarchy^% hier,
[OutAttribute] unsigned int% itemid
)
abstract GetProjectItem :
hier:IVsHierarchy byref *
itemid:uint32 byref -> int
override GetProjectItem :
hier:IVsHierarchy byref *
itemid:uint32 byref -> int
public function GetProjectItem(
hier : IVsHierarchy,
itemid : uint
) : int
Parameters
- hier
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy%
Reference to the hierarchy object.
- itemid
Type: System.UInt32%
Reference to the project item.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsBrowseObject.GetProjectItem(IVsHierarchy%, UInt32%)
.NET Framework Security
- 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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Project.Internal Namespace