次の方法で共有


IVsProfileSettingsTree.RevisePlacements Method

Definition

public:
 int RevisePlacements(Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsTree ^ pTreeRoot, Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsTree ^ pTreeRootBasis, System::String ^ bstrCurrentParent);
public:
 int RevisePlacements(Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsTree ^ pTreeRoot, Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsTree ^ pTreeRootBasis, Platform::String ^ bstrCurrentParent);
int RevisePlacements(Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsTree const & pTreeRoot, Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsTree const & pTreeRootBasis, std::wstring const & bstrCurrentParent);
public int RevisePlacements (Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsTree pTreeRoot, Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsTree pTreeRootBasis, string bstrCurrentParent);
abstract member RevisePlacements : Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsTree * Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsTree * string -> int
Public Function RevisePlacements (pTreeRoot As IVsProfileSettingsTree, pTreeRootBasis As IVsProfileSettingsTree, bstrCurrentParent As String) As Integer

Parameters

pTreeRoot
IVsProfileSettingsTree

[in] A IVsProfileSettingsTree interface to the tree root.

pTreeRootBasis
IVsProfileSettingsTree

[in] A IVsProfileSettingsTree interface to the tree rood basis.

bstrCurrentParent
String

[in] If this tree has an alternate root specified, then adds self as a child in that tree.

Returns

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  
);  

Applies to