ContentIsland.IsConnected 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得這個 ContentIsland 是否連接到 ContentSite 。
public:
property bool IsConnected { bool get(); };
bool IsConnected();
public bool IsConnected { get; }
var boolean = contentIsland.isConnected;
Public ReadOnly Property IsConnected As Boolean
屬性值
Boolean
bool
如果這是 ContentIsland 連接到 ContentSite ,則為 True;否則為 false。 預設值是 true。
備註
ContentIsland必須連接到 ContentSite :
- 呼叫其中一種方法來 ContentCoordinateConverter 轉換座標。
- 呼叫 GetAutomationHostProvider() 以擷取自動化主機提供者。