_PropertyInfo 介面

定義

重要

此 API 不符合 CLS 規範。

公開 PropertyInfo 類別的公用成員至 Unmanaged 程式碼。Exposes the public members of the PropertyInfo class to unmanaged code.

public interface class _PropertyInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("F59ED4E4-E68F-3218-BD77-061AA82824BF")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _PropertyInfo
type _PropertyInfo = interface
Public Interface _PropertyInfo
衍生
屬性

備註

這個介面是用來從非受控程式碼存取 managed 類別,不應從 managed 程式碼呼叫。This interface is for access to managed classes from unmanaged code and should not be called from managed code.

這個介面會保留可由非受控System.Reflection.PropertyInfo COM 物件存取之類別成員的 vtable 順序。This interface preserves the vtable order of the System.Reflection.PropertyInfo class members that can be accessed by unmanaged COM objects.

屬性

Attributes

為 COM 物件提供與版本無關的 Attributes 屬性之存取權。Provides COM objects with version-independent access to the Attributes property.

CanRead

為 COM 物件提供與版本無關的 CanRead 屬性之存取權。Provides COM objects with version-independent access to the CanRead property.

CanWrite

為 COM 物件提供與版本無關的 CanWrite 屬性之存取權。Provides COM objects with version-independent access to the CanWrite property.

DeclaringType

為 COM 物件提供與版本無關的 DeclaringType 屬性之存取權。Provides COM objects with version-independent access to the DeclaringType property.

IsSpecialName

為 COM 物件提供與版本無關的 IsSpecialName 屬性之存取權。Provides COM objects with version-independent access to the IsSpecialName property.

MemberType

為 COM 物件提供與版本無關的 MemberType 屬性之存取權。Provides COM objects with version-independent access to the MemberType property.

Name

為 COM 物件提供與版本無關的 Name 屬性之存取權。Provides COM objects with version-independent access to the Name property.

PropertyType

為 COM 物件提供與版本無關的 PropertyType 屬性之存取權。Provides COM objects with version-independent access to the PropertyType property.

ReflectedType

為 COM 物件提供與版本無關的 ReflectedType 屬性之存取權。Provides COM objects with version-independent access to the ReflectedType property.

方法

Equals(Object)

為 COM 物件提供與版本無關的 Equals(Object) 方法之存取權。Provides COM objects with version-independent access to the Equals(Object) method.

GetAccessors()

為 COM 物件提供與版本無關的 GetAccessors() 方法之存取權。Provides COM objects with version-independent access to the GetAccessors() method.

GetAccessors(Boolean)

為 COM 物件提供與版本無關的 GetAccessors(Boolean) 方法之存取權。Provides COM objects with version-independent access to the GetAccessors(Boolean) method.

GetCustomAttributes(Boolean)

為 COM 物件提供與版本無關的 GetCustomAttributes(Boolean) 方法之存取權。Provides COM objects with version-independent access to the GetCustomAttributes(Boolean) method.

GetCustomAttributes(Type, Boolean)

為 COM 物件提供與版本無關的 GetCustomAttributes(Type, Boolean) 方法之存取權。Provides COM objects with version-independent access to the GetCustomAttributes(Type, Boolean) method.

GetGetMethod()

為 COM 物件提供與版本無關的 GetGetMethod() 方法之存取權。Provides COM objects with version-independent access to the GetGetMethod() method.

GetGetMethod(Boolean)

為 COM 物件提供與版本無關的 GetGetMethod(Boolean) 方法之存取權。Provides COM objects with version-independent access to the GetGetMethod(Boolean) method.

GetHashCode()

為 COM 物件提供與版本無關的 GetHashCode() 方法之存取權。Provides COM objects with version-independent access to the GetHashCode() method.

GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

將一組名稱對應至一組對應的分派識別項 (Dispatch Identifier)。Maps a set of names to a corresponding set of dispatch identifiers.

GetIndexParameters()

為 COM 物件提供與版本無關的 GetIndexParameters() 方法之存取權。Provides COM objects with version-independent access to the GetIndexParameters() method.

GetSetMethod()

為 COM 物件提供與版本無關的 GetSetMethod() 方法之存取權。Provides COM objects with version-independent access to the GetSetMethod() method.

GetSetMethod(Boolean)

為 COM 物件提供與版本無關的 GetSetMethod(Boolean) 方法之存取權。Provides COM objects with version-independent access to the GetSetMethod(Boolean) method.

GetType()

為 COM 物件提供與版本無關的 GetType() 方法之存取權。Provides COM objects with version-independent access to the GetType() method.

GetTypeInfo(UInt32, UInt32, IntPtr)

擷取物件的類型資訊,可以用來取得介面的類型資訊。Retrieves the type information for an object, which can be used to get the type information for an interface.

GetTypeInfoCount(UInt32)

擷取物件提供的類型資訊介面數目 (0 或 1)。Retrieves the number of type information interfaces that an object provides (either 0 or 1).

GetValue(Object, BindingFlags, Binder, Object[], CultureInfo)

為 COM 物件提供與版本無關的 GetValue(Object, BindingFlags, Binder, Object[], CultureInfo) 方法之存取權。Provides COM objects with version-independent access to the GetValue(Object, BindingFlags, Binder, Object[], CultureInfo) method.

GetValue(Object, Object[])

為 COM 物件提供與版本無關的 GetValue(Object, Object[]) 方法之存取權。Provides COM objects with version-independent access to the GetValue(Object, Object[]) method.

Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

提供物件所公開的屬性和方法的存取權。Provides access to properties and methods exposed by an object.

IsDefined(Type, Boolean)

為 COM 物件提供與版本無關的 IsDefined(Type, Boolean) 方法之存取權。Provides COM objects with version-independent access to the IsDefined(Type, Boolean) method.

SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo)

為 COM 物件提供與版本無關的 SetValue(Object, Object, BindingFlags, Binder, CultureInfo) 方法之存取權。Provides COM objects with version-independent access to the SetValue(Object, Object, BindingFlags, Binder, CultureInfo) method.

SetValue(Object, Object, Object[])

為 COM 物件提供與版本無關的 SetValue(Object, Object, Object[]) 方法之存取權。Provides COM objects with version-independent access to the SetValue(Object, Object, Object[]) method.

ToString()

為 COM 物件提供與版本無關的 ToString() 方法之存取權。Provides COM objects with version-independent access to the ToString() method.

適用於