Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
If the IDataObject contains a ModelingToolboxItem, this returns its DisplayName, otherwise null.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Protected Shared Function GetModelingToolboxItemDisplayName ( _
serviceProvider As IServiceProvider, _
data As IDataObject _
) As String
protected static string GetModelingToolboxItemDisplayName(
IServiceProvider serviceProvider,
IDataObject data
)
protected:
static String^ GetModelingToolboxItemDisplayName(
IServiceProvider^ serviceProvider,
IDataObject^ data
)
static member GetModelingToolboxItemDisplayName :
serviceProvider:IServiceProvider *
data:IDataObject -> string
protected static function GetModelingToolboxItemDisplayName(
serviceProvider : IServiceProvider,
data : IDataObject
) : String
Parameters
serviceProvider
Type: IServiceProviderThe service provider to use for retrieving the IToolboxService.
data
Type: IDataObjectThe IDataObject to retrieve the ModelingToolboxItem data from.
Return Value
Type: String
A ModelingToolboxItem.DisplayName if it exists, otherwise null.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.