IConnectionPointContainer Arabirim

Tanım

Dikkat

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

Visual Basic 6.0'dan yükseltilen uygulamalar tarafından kullanılmak üzere OLE DB IConnectionPointContainer arabiriminin bir uygulamasını sağlar.

public interface class IConnectionPointContainer
[System.Runtime.InteropServices.Guid("B196B284-BAB4-101A-B69C-00AA00341D07")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IConnectionPointContainer
[System.Runtime.InteropServices.Guid("B196B284-BAB4-101A-B69C-00AA00341D07")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public interface IConnectionPointContainer
[<System.Runtime.InteropServices.Guid("B196B284-BAB4-101A-B69C-00AA00341D07")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IConnectionPointContainer = interface
[<System.Runtime.InteropServices.Guid("B196B284-BAB4-101A-B69C-00AA00341D07")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
type IConnectionPointContainer = interface
Public Interface IConnectionPointContainer
Öznitelikler

Açıklamalar

Yeni geliştirme için bkz IConnectionPointContainer. .

Not

Microsoft.VisualBasic.Compatibility.VB6 ad alanındaki işlevler ve nesneler, Visual Basic 6.0’dan Visual Basic 2008’e yükseltme araçlarının kullanımı için sağlanır. Çoğu durumda, bu işlevler ve nesneler .NET Framework’teki diğer ad alanlarında bulabileceğiniz işlevlerin birer yinelemesidir. Bunlar yalnızca, Visual Basic 6.0 kod modelinin .NET Framework uygulamasından önemli ölçüde farklı olduğu durumlarda gereklidir.

Yöntemler

EnumConnectionPoints(IEnumConnectionPoints)
Geçersiz.

IID başına bir bağlantı noktası olmak üzere bağlanılabilir nesnede desteklenen tüm bağlantı noktalarının bir numaralandırıcısını oluşturur.

FindConnectionPoint(Guid, IConnectionPoint)
Geçersiz.

Belirli bir IID için bağlantı noktası olup olmadığını bağlanabilir nesneyi sorgular ve varsa, arabirim işaretçisini bu bağlantı noktasına döndürür IConnectionPoint .

Şunlara uygulanır