_FormRegion.SetControlItemProperty(Object, String) Method
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.
Binds an explicit built-in property or a custom property to a control in the form region.
public:
void SetControlItemProperty(System::Object ^ Control, System::String ^ PropertyName);
public void SetControlItemProperty (object Control, string PropertyName);
Public Sub SetControlItemProperty (Control As Object, PropertyName As String)
Parameters
- Control
- Object
A control in the form region to which the property specified by PropertyName
will be bound.
- PropertyName
- String
The name of the property that will be bound to the control.
Remarks
You can use this method to bind an explicit built-in property or a custom property to a control. You must reference the property by its string name, for example, Subject, and not by namespace, for example, http://schemas.microsoft.com/mapi/proptag/0x0037001E.
The PropertyName
parameter is not case-sensitive. For example, SetControlItemProperty interprets an argument, CustomerId, to be the same as CustomerID and binds the specified control to the built-in CustomerID property.
Other than using the SetControlItemProperty method of a FormRegion object, you can also use code similar to the following to bind a property such as the Subject property to a control:
myPage.Controls("bar").ItemProperty = "subject"
myPage.Controls("bar").ItemProperty = "subject";
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기