DesktopWindowXamlSource.Initialize(WindowId) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
DesktopWindowXamlSource クラスの新しいインスタンスを初期化します。
public:
virtual void Initialize(WindowId parentWindowId) = Initialize;
void Initialize(WindowId const& parentWindowId);
public void Initialize(WindowId parentWindowId);
function initialize(parentWindowId)
Public Sub Initialize (parentWindowId As WindowId)
パラメーター
- parentWindowId
- WindowId
Win32 アプリケーションの HWND の WindowId 。
注釈
C++ デスクトップ アプリケーション開発者の場合は、 interop::GetWindowIdFromWindow 関数を使用して、Win32 アプリケーションの HWND の WindowId を 取得します。
C# デスクトップ アプリケーション開発者の場合は、 Win32Interop.GetWindowIdFromWindow(IntPtr) メソッドを使用して、Win32 アプリケーションの HWND の WindowId を 取得します。