System.Runtime.InteropServices Ad Alanı
, COM birlikte çalışma ve platform çağırma hizmetlerini destekleyen çok çeşitli Üyeler sağlar. Provides a wide variety of members that support COM interop and platform invoke services. Bu hizmetler hakkında bilginiz yoksa, bkz. yönetilmeyen kodla birlikte çalışma. If you are unfamiliar with these services, see Interoperating with Unmanaged Code.
Sınıflar
AllowReversePInvokeCallsAttribute |
Yönetilmeyen bir yöntemin yönetilen bir yöntemi çağırmasını sağlar.Allows an unmanaged method to call a managed method. |
AutomationProxyAttribute |
Türün Otomasyon sıralayıcısı veya özel bir ara sunucu ve saplama kullanılarak sıralanması gerekip gerekmediğini belirtir.Specifies whether the type should be marshaled using the Automation marshaler or a custom proxy and stub. |
BestFitMappingAttribute |
Unicode karakterlerinin en yakın eşleşen ANSI karakterlerine dönüştürülüp dönüştürülmeyeceğini denetler.Controls whether Unicode characters are converted to the closest matching ANSI characters. |
BStrWrapper |
Yönetilmeyen koddan yönetilen türden verileri el ile sıralar |
ClassInterfaceAttribute |
Bir arabirim oluşturulursa, COM 'a sunulan bir sınıf için oluşturulacak sınıf arabiriminin türünü gösterir.Indicates the type of class interface to be generated for a class exposed to COM, if an interface is generated at all. |
CoClassAttribute |
Bir tür kitaplığından içeri aktarılan bir coclass 'ın sınıf tanımlayıcısını belirtir.Specifies the class identifier of a coclass imported from a type library. |
CollectionsMarshal |
Koleksiyonların temel alınan veri temsillerine erişmek için bir yöntemler kümesi sağlayan güvenli olmayan bir sınıf.An unsafe class that provides a set of methods to access the underlying data representations of collections. |
ComAliasNameAttribute |
Bir parametre veya alan türü için COM diğer adını gösterir.Indicates the COM alias for a parameter or field type. |
ComAwareEventInfo |
Olay işleyicisinin geç bağlantılı kaydına izin verir.Permits late-bound registration of an event handler. |
ComCompatibleVersionAttribute |
Bir derlemenin geçerli sürümündeki tüm sınıfların, derlemenin önceki bir sürümündeki sınıflarla uyumlu olduğunu bir COM istemcisine bildirir.Indicates to a COM client that all classes in the current version of an assembly are compatible with classes in an earlier version of the assembly. |
ComConversionLossAttribute |
Bir tür kitaplığından derlemeye içeri aktarıldığında, bir sınıf veya arabirim hakkındaki bilgilerin kaybolduğunu gösterir.Indicates that information was lost about a class or interface when it was imported from a type library to an assembly. |
ComDefaultInterfaceAttribute |
COM 'a sunmak için bir varsayılan arabirim belirtir.Specifies a default interface to expose to COM. Bu sınıf devralınamaz.This class cannot be inherited. |
ComEventInterfaceAttribute |
Bir COM tür kitaplığından bir coclass içeri aktarıldığında oluşturulan olay arabiriminin yöntemlerini uygulayan kaynak arabirimini ve sınıfı tanımlar.Identifies the source interface and the class that implements the methods of the event interface that is generated when a coclass is imported from a COM type library. |
ComEventsHelper |
COM nesnelerine eklenecek ve kaldırılacak olayları işleyen .NET temsilcilerini etkinleştiren yöntemler sağlar.Provides methods that enable .NET delegates that handle events to be added and removed from COM objects. |
COMException |
Bir COM yöntem çağrısından tanınmayan HRESULT döndürüldüğünde oluşturulan özel durum.The exception that is thrown when an unrecognized HRESULT is returned from a COM method call. |
ComImportAttribute |
Öznitelikli türün daha önce COM 'da tanımlandığını gösterir.Indicates that the attributed type was previously defined in COM. |
ComRegisterFunctionAttribute |
Bir derlemeyi COM 'dan kullanmak üzere kaydettiğinizde çağrılacak yöntemi belirtir; Bu, kayıt işlemi sırasında Kullanıcı tarafından yazılan kodun yürütülmesini mümkün bir şekilde sunar.Specifies the method to call when you register an assembly for use from COM; this enables the execution of user-written code during the registration process. |
ComSourceInterfacesAttribute |
Öznitelikli sınıf için COM olay kaynakları olarak ortaya çıkarılan arabirimlerin listesini tanımlar.Identifies a list of interfaces that are exposed as COM event sources for the attributed class. |
ComUnregisterFunctionAttribute |
Bir derlemenin COM 'dan kullanılmak üzere kaydını kaldırdığınızda çağrılacak yöntemi belirtir; Bu, kayıt silme işlemi sırasında Kullanıcı tarafından yazılan kodun yürütülmesini sağlar.Specifies the method to call when you unregister an assembly for use from COM; this allows for the execution of user-written code during the unregistration process. |
ComVisibleAttribute |
Tek bir yönetilen türün veya üyenin veya bir derleme içindeki tüm türlerin COM 'a erişilebilirliğini denetler.Controls accessibility of an individual managed type or member, or of all types within an assembly, to COM. |
ComWrappers |
COM IUnknown türlerinin sarmalayıcılarını yönetmek için sınıf.Class for managing wrappers of COM IUnknown types. |
CriticalHandle |
Tanıtıcı kaynakları için sarmalayıcı sınıfını temsil eder.Represents a wrapper class for handle resources. |
CurrencyWrapper |
Sıralayıcı tarafından sıralama gereken nesneleri sarmalanmış olarak kaydırır |
DefaultCharSetAttribute |
CharSetSabit listesinin değerini belirtir.Specifies the value of the CharSet enumeration. Bu sınıf devralınamaz.This class cannot be inherited. |
DefaultDllImportSearchPathsAttribute |
Platform çağırmalar için işlevler sağlayan dll 'Leri aramak için kullanılan yolları belirtir.Specifies the paths that are used to search for DLLs that provide functions for platform invokes. |
DefaultParameterValueAttribute |
Varsayılan parametreleri destekleyen bir dilden çağrıldığında parametrenin varsayılan değerini ayarlar.Sets the default value of a parameter when called from a language that supports default parameters. Bu sınıf devralınamaz.This class cannot be inherited. |
DispatchWrapper |
Sıralayıcı tarafından sıralama gereken nesneleri sarmalanmış olarak kaydırır |
DispIdAttribute |
Bir yöntemin, alanın veya özelliğin COM dağıtım tanımlayıcısını (DISPID) belirtir.Specifies the COM dispatch identifier (DISPID) of a method, field, or property. |
DllImportAttribute |
Öznitelikli yöntemin, yönetilmeyen bir dinamik bağlantı kitaplığı (DLL) tarafından statik giriş noktası olarak sunulduğunu gösterir.Indicates that the attributed method is exposed by an unmanaged dynamic-link library (DLL) as a static entry point. |
DynamicInterfaceCastableImplementationAttribute |
Tarafından döndürülen herhangi bir tür için gerekli öznitelik GetInterfaceImplementation(RuntimeTypeHandle) .Attribute required by any type that is returned by GetInterfaceImplementation(RuntimeTypeHandle). |
ErrorWrapper |
Sıralayıcı tarafından sıralama gereken nesneleri sarmalanmış olarak kaydırır |
ExtensibleClassFactory |
Oluşturma sırasında yönetilmeyen nesnelerden genişleyen yönetilen nesnelerin özelleştirilmesine izin vermez.Enables customization of managed objects that extend from unmanaged objects during creation. |
ExternalException |
Tüm COM birlikte çalışma özel durumları ve yapılandırılmış özel durum işleme (SEH) özel durumları için temel özel durum türü.The base exception type for all COM interop exceptions and structured exception handling (SEH) exceptions. |
FieldOffsetAttribute |
Bir sınıfın veya yapının yönetilmeyen temsilindeki alanların fiziksel konumunu gösterir.Indicates the physical position of fields within the unmanaged representation of a class or structure. |
GuidAttribute |
GuidOtomatik BIR GUID istenmeyen olduğunda açık bir değer sağlar.Supplies an explicit Guid when an automatic GUID is undesirable. |
HandleCollector |
Bekleyen tutamaçları izler ve belirtilen eşiğe ulaşıldığında çöp toplamayı zorlar.Tracks outstanding handles and forces a garbage collection when the specified threshold is reached. |
IDispatchImplAttribute |
|
ImportedFromTypeLibAttribute |
Bir derlemede tanımlanan türlerin başlangıçta bir tür kitaplığında tanımlandığını gösterir.Indicates that the types defined within an assembly were originally defined in a type library. |
InAttribute |
Verilerin çağıran bilgisayardan aranan öğesine sıralanması gerektiğini, ancak çağırıcının geri döndürülmeyeceğini gösterir.Indicates that data should be marshaled from the caller to the callee, but not back to the caller. |
InterfaceTypeAttribute |
Yönetilen bir arabirimin, COM 'a sunulduğunda ikili, salt gönderme veya-yalnızca arasında olduğunu gösterir |
InvalidComObjectException |
Geçersiz bir COM nesnesi kullanıldığında oluşan özel durum.The exception thrown when an invalid COM object is used. |
InvalidOleVariantTypeException |
Yönetilen koda sıralanamaz bir değişken türünün bağımsız değişkeniyle karşılaştığında Sıralayıcı tarafından oluşturulan özel durum.The exception thrown by the marshaler when it encounters an argument of a variant type that can not be marshaled to managed code. |
LCIDConversionAttribute |
Bir yöntemin yönetilmeyen imzasının bir yerel ayar tanımlayıcı (LCıD) parametresi beklediğini gösterir.Indicates that a method's unmanaged signature expects a locale identifier (LCID) parameter. |
ManagedToNativeComInteropStubAttribute |
Yönetilen-COM birlikte çalışma senaryolarında birlikte çalışma saplamalarının Kullanıcı özelleştirmesi için destek sağlar.Provides support for user customization of interop stubs in managed-to-COM interop scenarios. |
Marshal |
Yönetilmeyen bellek ayırma, yönetilmeyen bellek bloklarını kopyalama ve yönetilen ve yönetilmeyen türlere dönüştürme ve yönetilmeyen kod ile etkileşim kurarken kullanılan diğer çeşitli yöntemler için bir yöntem koleksiyonu sağlar.Provides a collection of methods for allocating unmanaged memory, copying unmanaged memory blocks, and converting managed to unmanaged types, as well as other miscellaneous methods used when interacting with unmanaged code. |
MarshalAsAttribute |
Yönetilen ve yönetilmeyen kod arasında verilerin nasıl hazırlanacağını gösterir.Indicates how to marshal the data between managed and unmanaged code. |
MarshalDirectiveException |
Sıralayıcı tarafından karşılaştığı zaman sıralayıcı tarafından oluşturulan özel durum, MarshalAsAttribute desteklemez.The exception that is thrown by the marshaler when it encounters a MarshalAsAttribute it does not support. |
MemoryMarshal |
,, Ve ile birlikte çalışmak için yöntemler sağlar Memory<T> ReadOnlyMemory<T> Span<T> ReadOnlySpan<T> .Provides methods to interoperate with Memory<T>, ReadOnlyMemory<T>, Span<T>, and ReadOnlySpan<T>. |
NativeLibrary |
Yerel kitaplıkları yönetmek için API 'Ler sağlar.Provides APIs for managing native libraries. |
OptionalAttribute |
Parametrenin isteğe bağlı olduğunu gösterir.Indicates that a parameter is optional. |
OutAttribute |
Verilerin çağrılan bilgisayardan çağırana geri doğru sıralanması gerektiğini gösterir.Indicates that data should be marshaled from callee back to caller. |
PreserveSigAttribute |
|
PrimaryInteropAssemblyAttribute |
Öznitelikli derlemenin bir birincil birlikte çalışma derlemesi olduğunu gösterir.Indicates that the attributed assembly is a primary interop assembly. |
ProgIdAttribute |
Kullanıcının bir sınıfın ProgID 'sini belirlemesine izin verir.Allows the user to specify the ProgID of a class. |
RegistrationServices |
COM ' dan kullanılmak üzere yönetilen derlemelerin kaydı ve kaydını silme için bir dizi hizmet sağlar.Provides a set of services for registering and unregistering managed assemblies for use from COM. |
RuntimeEnvironment |
|
RuntimeInformation |
.NET çalışma zamanı yüklemesi hakkında bilgi sağlar.Provides information about the .NET runtime installation. |
SafeArrayRankMismatchException |
Gelen sırası |
SafeArrayTypeMismatchException |
Gelen türü |
SafeBuffer |
Okuma ve yazma için kullanılabilen denetimli bir bellek arabelleği sağlar.Provides a controlled memory buffer that can be used for reading and writing. Denetimli arabellek dışında belleğe erişme girişimleri (yetersiz çalıştırmalar ve taşmaların) özel durumlar gerçekleştirir.Attempts to access memory outside the controlled buffer (underruns and overruns) raise exceptions. |
SafeHandle |
İşletim sistemi tanıtıcıları için sarmalayıcı sınıfını temsil eder.Represents a wrapper class for operating system handles. Bu sınıf devralınmalıdır.This class must be inherited. |
SEHException |
Yapılandırılmış özel durum işleme (SEH) hatalarını temsil eder.Represents structured exception handling (SEH) errors. |
SequenceMarshal |
İle birlikte çalışmak için bir yöntemler koleksiyonu sağlar ReadOnlySequence<T> .Provides a collection of methods for interoperating with ReadOnlySequence<T>. |
SetWin32ContextInIDispatchAttribute |
Bu öznitelik kullanım dışı bırakıldı.This attribute has been deprecated. |
StandardOleMarshalObject |
Standart ortak dil çalışma zamanı (CLR) boş iş parçacıklı sıralayıcıyı standart OLE STA sıralayıcısı ile değiştirir.Replaces the standard common language runtime (CLR) free-threaded marshaler with the standard OLE STA marshaler. |
StructLayoutAttribute |
Bellekte bir sınıfın veya yapının veri alanlarının fiziksel yerleşimini denetlemenize olanak tanır.Lets you control the physical layout of the data fields of a class or structure in memory. |
SuppressGCTransitionAttribute |
Yönetilmeyen bir işlev çağrısı yapıldığında çöp toplama geçişinin atlanacağını belirtir.Indicates that a garbage collection transition should be skipped when an unmanaged function call is made. |
TypeIdentifierAttribute |
Tür eşdeğerliği için destek sağlar.Provides support for type equivalence. |
TypeLibConverter |
Yönetilen bir derlemeyi COM tür kitaplığına dönüştüren ve tam tersi bir hizmet kümesi sağlar.Provides a set of services that convert a managed assembly to a COM type library and vice versa. |
TypeLibFuncAttribute |
FUNCFLAGSBu yöntem için ilk olarak com tür kitaplığından içeri aktarılmış olan öğesini içerir.Contains the FUNCFLAGS that were originally imported for this method from the COM type library. |
TypeLibImportClassAttribute |
Özel olarak Type bir arabirim kullandığını belirtir.Specifies which Type exclusively uses an interface. Bu sınıf devralınamaz.This class cannot be inherited. |
TypeLibTypeAttribute |
TYPEFLAGSBu tür için ilk olarak com tür kitaplığından içeri aktarılmış olan öğesini içerir.Contains the TYPEFLAGS that were originally imported for this type from the COM type library. |
TypeLibVarAttribute |
VARFLAGSBu alan için ilk olarak com tür kitaplığından içeri aktarılmış olan öğesini içerir.Contains the VARFLAGS that were originally imported for this field from the COM type library. |
TypeLibVersionAttribute |
Aktarılmış bir tür kitaplığının sürüm numarasını belirtir.Specifies the version number of an exported type library. |
UnknownWrapper |
Sıralayıcı tarafından sıralama gereken nesneleri sarmalanmış olarak kaydırır |
UnmanagedCallersOnlyAttribute |
İle işaretlenen herhangi bir yöntem UnmanagedCallersOnlyAttribute , yerel koddan doğrudan çağrılabilir.Any method marked with UnmanagedCallersOnlyAttribute can be directly called from native code. İşlev belirteci, C# içindeki Address-of işleci kullanılarak yerel bir değişkene yüklenebilir ve yerel bir yönteme geri çağrı olarak geçirilir.The function token can be loaded to a local variable using the address-of operator in C# and passed as a callback to a native method. |
UnmanagedFunctionPointerAttribute |
Yönetilmeyen koddan veya yönetilmeyen bir işlev işaretçisi olarak geçirilen bir temsilci imzasının sıralama davranışını denetler.Controls the marshaling behavior of a delegate signature passed as an unmanaged function pointer to or from unmanaged code. Bu sınıf devralınamaz.This class cannot be inherited. |
VariantWrapper |
Yönetilmeyen koddan yönetilen türden verileri el ile sıralar |
Yapılar
ArrayWithOffset |
Belirtilen dizi içindeki bir diziyi ve bir sapmayı kapsüller.Encapsulates an array and an offset within the specified array. |
BIND_OPTS | |
BINDPTR | |
ComWrappers.ComInterfaceDispatch |
COM arabirimine yönelik işlev gönderimi için uygulama ikili arabirimi.An application binary interface for function dispatch of a COM interface. |
ComWrappers.ComInterfaceEntry |
Arabirim türü ve hedeflenen VTable işaretçisi.Interface type and pointer to targeted VTable. |
CONNECTDATA |
Bunun yerine CONNECTDATA kullanın.Use CONNECTDATA instead. |
DISPPARAMS |
Bunun yerine DISPPARAMS kullanın.Use DISPPARAMS instead. |
ELEMDESC | |
ELEMDESC.DESCUNION |
Bunun yerine ELEMDESC.DESCUNION kullanın.Use ELEMDESC.DESCUNION instead. |
EXCEPINFO | |
FILETIME | |
FUNCDESC | |
GCHandle |
Yönetilmeyen bellekten yönetilen bir nesneye erişmek için bir yol sağlar.Provides a way to access a managed object from unmanaged memory. |
HandleRef |
Platform Invoke kullanılarak yönetilmeyen koda geçirilen bir kaynak için tanıtıcı tutan yönetilen bir nesneyi kaydırır.Wraps a managed object holding a handle to a resource that is passed to unmanaged code using platform invoke. |
IDLDESC | |
OSPlatform |
Bir işletim sistemi platformunu temsil eder.Represents an operating system platform. |
PARAMDESC | |
STATSTG | |
TYPEATTR | |
TYPEDESC | |
TYPELIBATTR |
Bunun yerine TYPELIBATTR kullanın.Use TYPELIBATTR instead. |
VARDESC | |
VARDESC.DESCUNION |
Bunun yerine VARDESC.DESCUNION kullanın.Use VARDESC.DESCUNION instead. |
Arabirimler
_Activator |
ActivatorSınıfı yönetilmeyen koda gösterir.Exposes the Activator class to unmanaged code. |
_Assembly |
Sınıfın ortak üyelerini Assembly yönetilmeyen kod olarak gösterir.Exposes the public members of the Assembly class to unmanaged code. |
_AssemblyBuilder |
AssemblyBuilderSınıfı yönetilmeyen koda gösterir.Exposes the AssemblyBuilder class to unmanaged code. |
_AssemblyName |
AssemblyNameSınıfı yönetilmeyen koda gösterir.Exposes the AssemblyName class to unmanaged code. |
_Attribute |
AttributeSınıfı yönetilmeyen koda gösterir.Exposes the Attribute class to unmanaged code. |
_ConstructorBuilder |
ConstructorBuilderSınıfı yönetilmeyen koda gösterir.Exposes the ConstructorBuilder class to unmanaged code. |
_ConstructorInfo |
Sınıfın ortak üyelerini ConstructorInfo yönetilmeyen kod olarak gösterir.Exposes the public members of the ConstructorInfo class to unmanaged code. |
_CustomAttributeBuilder |
CustomAttributeBuilderSınıfı yönetilmeyen koda gösterir.Exposes the CustomAttributeBuilder class to unmanaged code. |
_EnumBuilder |
EnumBuilderSınıfı yönetilmeyen koda gösterir.Exposes the EnumBuilder class to unmanaged code. |
_EventBuilder |
EventBuilderSınıfı yönetilmeyen koda gösterir.Exposes the EventBuilder class to unmanaged code. |
_EventInfo |
Sınıfın ortak üyelerini EventInfo yönetilmeyen kod olarak gösterir.Exposes the public members of the EventInfo class to unmanaged code. |
_Exception |
Sınıfın ortak üyelerini Exception yönetilmeyen kod olarak gösterir.Exposes the public members of the Exception class to unmanaged code. |
_FieldBuilder |
FieldBuilderSınıfı yönetilmeyen koda gösterir.Exposes the FieldBuilder class to unmanaged code. |
_FieldInfo |
Sınıfın ortak üyelerini FieldInfo yönetilmeyen kod olarak gösterir.Exposes the public members of the FieldInfo class to unmanaged code. |
_ILGenerator |
ILGeneratorSınıfı yönetilmeyen koda gösterir.Exposes the ILGenerator class to unmanaged code. |
_LocalBuilder |
LocalBuilderSınıfı yönetilmeyen koda gösterir.Exposes the LocalBuilder class to unmanaged code. |
_MemberInfo |
Sınıfın ortak üyelerini MemberInfo yönetilmeyen kod olarak gösterir.Exposes the public members of the MemberInfo class to unmanaged code. |
_MethodBase |
Sınıfın ortak üyelerini MethodBase yönetilmeyen kod olarak gösterir.Exposes the public members of the MethodBase class to unmanaged code. |
_MethodBuilder |
MethodBuilderSınıfı yönetilmeyen koda gösterir.Exposes the MethodBuilder class to unmanaged code. |
_MethodInfo |
Sınıfın ortak üyelerini MethodInfo yönetilmeyen kod olarak gösterir.Exposes the public members of the MethodInfo class to unmanaged code. |
_MethodRental |
MethodRentalSınıfı yönetilmeyen koda gösterir.Exposes the MethodRental class to unmanaged code. |
_Module |
ModuleSınıfı yönetilmeyen koda gösterir.Exposes the Module class to unmanaged code. |
_ModuleBuilder |
ModuleBuilderSınıfı yönetilmeyen koda gösterir.Exposes the ModuleBuilder class to unmanaged code. |
_ParameterBuilder |
ParameterBuilderSınıfı yönetilmeyen koda gösterir.Exposes the ParameterBuilder class to unmanaged code. |
_ParameterInfo |
ParameterInfoSınıfı yönetilmeyen koda gösterir.Exposes the ParameterInfo class to unmanaged code. |
_PropertyBuilder |
PropertyBuilderSınıfı yönetilmeyen koda gösterir.Exposes the PropertyBuilder class to unmanaged code. |
_PropertyInfo |
Sınıfın ortak üyelerini PropertyInfo yönetilmeyen kod olarak gösterir.Exposes the public members of the PropertyInfo class to unmanaged code. |
_SignatureHelper |
SignatureHelperSınıfı yönetilmeyen koda gösterir.Exposes the SignatureHelper class to unmanaged code. |
_Thread |
ThreadSınıfı yönetilmeyen koda gösterir.Exposes the Thread class to unmanaged code. |
_Type |
Sınıfın ortak üyelerini Type yönetilmeyen koda gösterir.Exposes the public members of the Type class to the unmanaged code. |
_TypeBuilder |
TypeBuilderSınıfı yönetilmeyen koda gösterir.Exposes the TypeBuilder class to unmanaged code. |
ICustomAdapter |
, İstemcilerin özel bir sıralayıcı tarafından kullanıma hazır olan bağdaştırıcı nesnesi yerine gerçek nesneye erişmesi için bir yol sağlar.Provides a way for clients to access the actual object, rather than the adapter object handed out by a custom marshaler. |
ICustomFactory |
Kullanıcıların genişleyen yönetilen nesneler için etkinleştirme kodu yazmasını sağlar MarshalByRefObject .Enables users to write activation code for managed objects that extend MarshalByRefObject. |
ICustomMarshaler |
Yöntem çağrılarını işlemek için özel sarmalayıcılar sağlar.Provides custom wrappers for handling method calls. |
ICustomQueryInterface |
Geliştiricilerin IUnknown:: QueryInterface (REFııD riıd, void * * ppvObject) yönteminin özel, yönetilen bir uygulamasını sağlamasına olanak sağlar.Enables developers to provide a custom, managed implementation of the IUnknown::QueryInterface(REFIID riid, void **ppvObject) method. |
IDynamicInterfaceCastable |
Tür dönüştürme hatasına katılmak için kullanılan arabirim.Interface used to participate in a type cast failure. |
IRegistrationServices |
COM ' dan kullanılmak üzere yönetilen derlemelerin kaydı ve kaydını silme için bir dizi hizmet sağlar.Provides a set of services for registering and unregistering managed assemblies for use from COM. |
ITypeLibConverter |
Yönetilen bir derlemeyi COM tür kitaplığına dönüştüren ve tam tersi bir hizmet kümesi sağlar.Provides a set of services that convert a managed assembly to a COM type library and vice versa. |
ITypeLibExporterNameProvider |
Bir tür kitaplığına aktarıldığında adların büyük küçük harfleri üzerinde denetim sağlar.Provides control over the casing of names when exported to a type library. |
ITypeLibExporterNotifySink |
, Dönüştürmenin durumunu çağırana bildirmek üzere derleme Dönüştürücüsü için bir geri çağrı mekanizması sağlar ve dönüştürme işleminin kendisinde çağrıyı içerir.Provides a callback mechanism for the assembly converter to inform the caller of the status of the conversion, and involve the caller in the conversion process itself. |
ITypeLibImporterNotifySink |
Dönüştürme durumunu çağırana bildirmek üzere tür kitaplığı Dönüştürücüsü için bir geri çağırma mekanizması sağlar ve bu çağrıyı dönüştürme işleminin kendisinde içerir.Provides a callback mechanism for the type library converter to inform the caller of the status of the conversion, and involve the caller in the conversion process itself. |
UCOMIBindCtx | |
UCOMIConnectionPoint |
Bunun yerine IConnectionPoint kullanın.Use IConnectionPoint instead. |
UCOMIConnectionPointContainer |
Bunun yerine IConnectionPointContainer kullanın.Use IConnectionPointContainer instead. |
UCOMIEnumConnectionPoints |
Bunun yerine IEnumConnectionPoints kullanın.Use IEnumConnectionPoints instead. |
UCOMIEnumConnections |
Bunun yerine IEnumConnections kullanın.Use IEnumConnections instead. |
UCOMIEnumMoniker |
Bunun yerine IEnumMoniker kullanın.Use IEnumMoniker instead. |
UCOMIEnumString |
Bunun yerine IEnumString kullanın.Use IEnumString instead. |
UCOMIEnumVARIANT |
Bunun yerine IEnumVARIANT kullanın.Use IEnumVARIANT instead. |
UCOMIMoniker | |
UCOMIPersistFile |
Bunun yerine IPersistFile kullanın.Use IPersistFile instead. |
UCOMIRunningObjectTable |
Bunun yerine IRunningObjectTable kullanın.Use IRunningObjectTable instead. |
UCOMIStream | |
UCOMITypeComp | |
UCOMITypeInfo | |
UCOMITypeLib |
Numaralandırmalar
Architecture |
İşlemci mimarisini gösterir.Indicates the processor architecture. |
AssemblyRegistrationFlags |
Derlemeler kaydedilirken kullanılan bir bayrak kümesi tanımlar.Defines a set of flags used when registering assemblies. |
CALLCONV | |
CallingConvention |
Yönetilmeyen kodda uygulanan yöntemleri çağırmak için gereken çağırma kuralını belirtir.Specifies the calling convention required to call methods implemented in unmanaged code. |
CharSet |
Hangi karakter kümesi sıralanmış dizelerin kullanılacağını belirler.Dictates which character set marshaled strings should use. |
ClassInterfaceType |
Bir sınıf için oluşturulan sınıf arabiriminin türünü tanımlar.Identifies the type of class interface that is generated for a class. |
ComInterfaceType |
COM için bir arabirim sergileme şeklini tanımlar.Identifies how to expose an interface to COM. |
ComMemberType |
Bir COM üyesinin türünü açıklar.Describes the type of a COM member. |
CreateComInterfaceFlags |
Yöntemi için bayrakları belirtir GetOrCreateComInterfaceForObject(Object, CreateComInterfaceFlags) .Specifies flags for the GetOrCreateComInterfaceForObject(Object, CreateComInterfaceFlags) method. |
CreateObjectFlags |
Yöntemi için bayrakları belirtir GetOrCreateObjectForComInstance(IntPtr, CreateObjectFlags) .Specifies flags for the GetOrCreateObjectForComInstance(IntPtr, CreateObjectFlags) method. |
CustomQueryInterfaceMode |
GetComInterfaceForObject(Object, Type, CustomQueryInterfaceMode)Metodun IUnknown:: QueryInterface çağrılarının arabirimini kullanıp kullanamayacağını belirtir ICustomQueryInterface .Indicates whether the GetComInterfaceForObject(Object, Type, CustomQueryInterfaceMode) method's IUnknown::QueryInterface calls can use the ICustomQueryInterface interface. |
CustomQueryInterfaceResult |
Yöntemi için dönüş değerlerini sağlar GetInterface(Guid, IntPtr) .Provides return values for the GetInterface(Guid, IntPtr) method. |
DESCKIND | |
DllImportSearchPath |
Platform çağırmalar için işlevler sağlayan dll 'Leri aramak için kullanılan yolları belirtir.Specifies the paths that are used to search for DLLs that provide functions for platform invokes. |
ExporterEventKind |
Bir tür kitaplığını dışa aktarırken tür kitaplığı Dışarı Aktarıcı 'nın yaptığı geri çağırmaları açıklar.Describes the callbacks that the type library exporter makes when exporting a type library. |
FUNCFLAGS | |
FUNCKIND | |
GCHandleType |
Sınıfın ayırabilecek tanıtıcı türlerini temsil eder GCHandle .Represents the types of handles the GCHandle class can allocate. |
IDispatchImplType |
|
IDLFLAG | |
IMPLTYPEFLAGS |
Bunun yerine IMPLTYPEFLAGS kullanın.Use IMPLTYPEFLAGS instead. |
ImporterEventKind |
Bir tür kitaplığını içeri aktarırken tür kitaplığı İçeri Aktarıcı 'nın yaptığı geri çağırmaları açıklar.Describes the callbacks that the type library importer makes when importing a type library. |
INVOKEKIND |
Bunun yerine INVOKEKIND kullanın.Use INVOKEKIND instead. |
LayoutKind |
Yönetilmeyen koda aktarıldığında nesnenin yerleşimini denetler.Controls the layout of an object when exported to unmanaged code. |
LIBFLAGS | |
PARAMFLAG | |
RegistrationClassContext |
Örnek oluşturmak için bir sınıf nesnesinin istekler için kullanılabilir hale getirilme yürütme bağlamlarının kümesini belirtir.Specifies the set of execution contexts in which a class object will be made available for requests to construct instances. |
RegistrationConnectionType |
Bir sınıf nesnesine yönelik bağlantı türlerini tanımlar.Defines the types of connections to a class object. |
SYSKIND | |
TYPEFLAGS | |
TYPEKIND | |
TypeLibExporterFlags |
Bir tür kitaplığının nasıl üretilmesi gerektiğini gösterir.Indicates how a type library should be produced. |
TypeLibFuncFlags |
|
TypeLibImporterFlags |
Bir derlemenin nasıl üretilmesi gerektiğini gösterir.Indicates how an assembly should be produced. |
TypeLibTypeFlags |
TYPEFLAGSTürünün içeri AKTARıLDıĞı com tür kitaplığındaki orijinal ayarlarını açıklar.Describes the original settings of the TYPEFLAGS in the COM type library from which the type was imported. |
TypeLibVarFlags |
VARFLAGSDeğişkeninin içeri AKTARıLDıĞı com tür kitaplığındaki orijinal ayarlarını açıklar.Describes the original settings of the VARFLAGS in the COM type library from which the variable was imported. |
UnmanagedType |
Yönetilmeyen koda parametrelerin veya alanların nasıl hazırlanacağını tanımlar.Identifies how to marshal parameters or fields to unmanaged code. |
VarEnum |
Bir dizi yönetilen 'den yönetilmeyen koddan bir olarak sıralandığınızda dizi öğelerinin nasıl sıralanacağını gösterir SafeArray .Indicates how to marshal the array elements when an array is marshaled from managed to unmanaged code as a SafeArray. |
VARFLAGS |
Temsilciler
DllImportResolver |
Yerel kitaplıkları geri çağırma aracılığıyla çözümlemek için kullanılan bir temsilci sağlar.Provides a delegate used to resolve native libraries via callback. |
ObjectCreationDelegate |
COM nesnesi oluşturur.Creates a COM object. |
Açıklamalar
Bu ad alanının üyeleri, aşağıdaki tabloda gösterildiği gibi birkaç işlev kategorisi sağlar.Members of this namespace provide several categories of functionality, as shown in the following table. Yapıları düzenleme veya dizeleri temsil etme gibi öznitelikler denetimi sıralama davranışı.Attributes control marshaling behavior, such as how to arrange structures or how to represent strings. DllImportAttributeYönetilmeyen API 'lere erişmek için platform çağırma yöntemlerini tanımlamak için kullandığınız en önemli öznitelikler ve MarshalAsAttribute verilerin yönetilen ve yönetilmeyen bellek arasında nasıl sıralandığına ilişkin olarak kullandığınız.The most important attributes are DllImportAttribute, which you use to define platform invoke methods for accessing unmanaged APIs, and MarshalAsAttribute, which you use to specify how data is marshaled between managed and unmanaged memory.