IToolboxExample.GetImageStream 方法
這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。
取得由 StreamSource 屬性所使用的資料流。
命名空間: Microsoft.Windows.Design
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Function GetImageStream ( _
desiredSize As Size _
) As Stream
Stream GetImageStream(
Size desiredSize
)
Stream^ GetImageStream(
Size desiredSize
)
abstract GetImageStream :
desiredSize:Size -> Stream
function GetImageStream(
desiredSize : Size
) : Stream
參數
- desiredSize
型別:System.Windows.Size
工具箱點陣圖的目標大小。
傳回值
型別:System.IO.Stream
Stream ,表示範例執行個體的工具箱點陣圖。
備註
點陣圖會用來當做這個範例執行個體的預覽,其大小會由 desiredSize 指定。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。