หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Loads a profile from the specified XML profile definition string.
Syntax
HRESULT LoadFromString
([in] BSTR bstrProfile)
;
Parameters
bstrProfile
[in] A string that contains the XML profile definition.
Return Value
The following table describes possible return values.
| Return Value | Description |
|---|---|
S_OK |
The function successfully loaded the profile. |
E_INVALIDARG |
One or more arguments are invalid. Use IParsingErrorInfo to obtain detailed error information. |
E_WPRC_FAILED_TO_VALIDATE_PROFILE |
The library failed to validate the profile. Use IParsingErrorInfo to obtain detailed error information. |