IVsAggregatableProject.GetAggregateProjectTypeGuids Method
Gets the list of project type GUIDs that make up the aggregate project. This method should be delegated to the innermost project within the system of aggregated project subtypes.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function GetAggregateProjectTypeGuids ( _
<OutAttribute> ByRef pbstrProjTypeGuids As String _
) As Integer
'使用
Dim instance As IVsAggregatableProject
Dim pbstrProjTypeGuids As String
Dim returnValue As Integer
returnValue = instance.GetAggregateProjectTypeGuids(pbstrProjTypeGuids)
int GetAggregateProjectTypeGuids(
out string pbstrProjTypeGuids
)
int GetAggregateProjectTypeGuids(
[OutAttribute] String^% pbstrProjTypeGuids
)
abstract GetAggregateProjectTypeGuids :
pbstrProjTypeGuids:string byref -> int
function GetAggregateProjectTypeGuids(
pbstrProjTypeGuids : String
) : int
Parameters
- pbstrProjTypeGuids
Type: System.String%
[out, retval] Pointer to a string containing the project type GUIDs.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsAggregatableProject::GetAggregateProjectTypeGuids(
[out] BSTR *pbstrProjTypeGuids
);
The Project type GUIDs are a semi-colon delimited list of project factory GUIDs in order of aggregation from outer-most project subtype to the inner-most project subtype. This list also includes the GUID of the inner (base) project. This list is managed by the inner-most project and is persisted in its project file.
注意
It is not necessary for the GUID of the base project itself to be persisted in the project file. The inner-most base project may also choose to strip its own GUID before persisting and implicitly adding it when retrieving the list of GUIDs.
.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
IVsAggregatableProject Interface