ElementOperations.GetModelingToolboxItemDisplayName メソッド

IDataObject が ModelingToolboxItem が含まれている場合、これは、DisplayName。それ以外の場合は null を返します。

名前空間:  Microsoft.VisualStudio.Modeling
アセンブリ:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 内)

構文

'宣言
Protected Shared Function GetModelingToolboxItemDisplayName ( _
    serviceProvider As IServiceProvider, _
    data As IDataObject _
) As String
protected static string GetModelingToolboxItemDisplayName(
    IServiceProvider serviceProvider,
    IDataObject data
)

パラメーター

  • serviceProvider
    型 : System.IServiceProvider
    IToolboxService を取得するために使用するサービス プロバイダー。

戻り値

型 : System.String
ModelingToolboxItem.DisplayName 場合は。それ以外の場合は null。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

ElementOperations クラス

Microsoft.VisualStudio.Modeling 名前空間