IVsProfileSettingsTree.RevisePlacements Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function RevisePlacements ( _
pTreeRoot As IVsProfileSettingsTree, _
pTreeRootBasis As IVsProfileSettingsTree, _
bstrCurrentParent As String _
) As Integer
'使用
Dim instance As IVsProfileSettingsTree
Dim pTreeRoot As IVsProfileSettingsTree
Dim pTreeRootBasis As IVsProfileSettingsTree
Dim bstrCurrentParent As String
Dim returnValue As Integer
returnValue = instance.RevisePlacements(pTreeRoot, _
pTreeRootBasis, bstrCurrentParent)
int RevisePlacements(
IVsProfileSettingsTree pTreeRoot,
IVsProfileSettingsTree pTreeRootBasis,
string bstrCurrentParent
)
int RevisePlacements(
[InAttribute] IVsProfileSettingsTree^ pTreeRoot,
[InAttribute] IVsProfileSettingsTree^ pTreeRootBasis,
[InAttribute] String^ bstrCurrentParent
)
function RevisePlacements(
pTreeRoot : IVsProfileSettingsTree,
pTreeRootBasis : IVsProfileSettingsTree,
bstrCurrentParent : String
) : int
Parameters
pTreeRoot
Type: Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsTree[in] A IVsProfileSettingsTree interface to the tree root.
pTreeRootBasis
Type: Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsTree[in] A IVsProfileSettingsTree interface to the tree rood basis.
bstrCurrentParent
Type: System.String[in] If this tree has an alternate root specified, then adds self as a child in that tree.
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:
[C++]
HRESULT IVsProfileSettingsTree::RevisePlacements(
[in] IVsProfileSettingsTree *pTreeRoot,
[in] IVsProfileSettingsTree *pTreeRootBasis,
[in] BSTR bstrCurrentParent
);
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.
See Also
Reference
IVsProfileSettingsTree Interface