Initializes an object with an XML fragment.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Friend Sub LoadXmlFragment ( _
persistXMLFragment As IPersistXMLFragment, _
configName As String _
)
'使用
Dim persistXMLFragment As IPersistXMLFragment
Dim configName As String
Me.LoadXmlFragment(persistXMLFragment, _
configName)
protected internal void LoadXmlFragment(
IPersistXMLFragment persistXMLFragment,
string configName
)
protected public:
void LoadXmlFragment(
IPersistXMLFragment^ persistXMLFragment,
String^ configName
)
protected internal function LoadXmlFragment(
persistXMLFragment : IPersistXMLFragment,
configName : String
)
Parameters
persistXMLFragment
Type: Microsoft.VisualStudio.Shell.Interop.IPersistXMLFragmentAn IPersistXMLFragment to load.
configName
Type: System.StringName of the configuration being initialized. a null reference (Nothing in Visual Basic) if it is the project.
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.