共用方式為


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

參數

傳回值

型別:System.IO.Stream
Stream ,表示範例執行個體的工具箱點陣圖。

備註

點陣圖會用來當做這個範例執行個體的預覽,其大小會由 desiredSize 指定。

.NET Framework 安全性

請參閱

參考

IToolboxExample 介面

Microsoft.Windows.Design 命名空間

IToolboxExampleFactory

ToolboxExampleAttribute