IVsUIDataConverterManager.GetConverter Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'宣告
Function GetConverter ( _
TypeName As String, _
dwDataFormatFrom As UInteger, _
dwDataFormatTo As UInteger, _
<OutAttribute> ByRef ppConverter As IVsUIDataConverter _
) As Integer
'用途
Dim instance As IVsUIDataConverterManager
Dim TypeName As String
Dim dwDataFormatFrom As UInteger
Dim dwDataFormatTo As UInteger
Dim ppConverter As IVsUIDataConverter
Dim returnValue As Integer
returnValue = instance.GetConverter(TypeName, _
dwDataFormatFrom, dwDataFormatTo, _
ppConverter)
int GetConverter(
string TypeName,
uint dwDataFormatFrom,
uint dwDataFormatTo,
out IVsUIDataConverter ppConverter
)
int GetConverter(
[InAttribute] String^ TypeName,
[InAttribute] unsigned int dwDataFormatFrom,
[InAttribute] unsigned int dwDataFormatTo,
[OutAttribute] IVsUIDataConverter^% ppConverter
)
abstract GetConverter :
TypeName:string *
dwDataFormatFrom:uint32 *
dwDataFormatTo:uint32 *
ppConverter:IVsUIDataConverter byref -> int
function GetConverter(
TypeName : String,
dwDataFormatFrom : uint,
dwDataFormatTo : uint,
ppConverter : IVsUIDataConverter
) : int
Parameters
- TypeName
Type: System.String
- dwDataFormatFrom
Type: System.UInt32
- dwDataFormatTo
Type: System.UInt32
- ppConverter
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIDataConverter%
Return Value
Type: System.Int32
.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.
See Also
Reference
IVsUIDataConverterManager Interface