SubordinateFileHelper.GetChildProjectItemId Method
Gets the item id of the first subordinate file with the given extension.
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaración
<CLSCompliantAttribute(False)> _
Public Shared Function GetChildProjectItemId ( _
parentHierarchy As IVsHierarchy, _
parentItemId As UInteger, _
extension As String _
) As UInteger
[CLSCompliantAttribute(false)]
public static uint GetChildProjectItemId(
IVsHierarchy parentHierarchy,
uint parentItemId,
string extension
)
[CLSCompliantAttribute(false)]
public:
static unsigned int GetChildProjectItemId(
IVsHierarchy^ parentHierarchy,
unsigned int parentItemId,
String^ extension
)
[<CLSCompliantAttribute(false)>]
static member GetChildProjectItemId :
parentHierarchy:IVsHierarchy *
parentItemId:uint32 *
extension:string -> uint32
public static function GetChildProjectItemId(
parentHierarchy : IVsHierarchy,
parentItemId : uint,
extension : String
) : uint
Parameters
- parentHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
Parent hierarchy.
- parentItemId
Type: System.UInt32
Item id identifying parent file.
- extension
Type: System.String
Extension to find (including the ".").
Return Value
Type: System.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.