ModelRelationship Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public interface class ModelRelationship
[System.Runtime.InteropServices.Guid("000244D9-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface ModelRelationship
Public Interface ModelRelationship
- Attributes
Properties
Active |
When True, the relationship is active. When False, this relationship is inactive. Boolean (bool in C#). Read/Write |
Application |
Returns an Application object that represents the Excel application. Read-only. |
Creator |
Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Integer (int in C#). |
ForeignKeyColumn |
Contains the ModelTableColumn object representing the foreign key column on the many side of the one-to-many relationship. Read-only |
ForeignKeyTable |
Contains the ModelTable object representing the table on the many side of the one-to-many relationship. Read-only |
Parent |
Returns an Object (object in C#) that represents the parent object of the specified ModelRelationship object. Read-only. |
PrimaryKeyColumn |
Contains the ModelTableColumn object representing the primary key column in the table on the one side of the one-to-many relationship. |
PrimaryKeyTable |
Contains the ModelTable object representing the table on the one side of the one-to-many relationship. |
Methods
Delete() |
Deletes the relationship. |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기