다음을 통해 공유


DataListDesigner.GetTemplateContainerDataItemProperty(String) 메서드

정의

주의

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202

템플릿 컨테이너의 IDataItemContainer.DataItem 속성을 가져옵니다.

public:
 override System::String ^ GetTemplateContainerDataItemProperty(System::String ^ templateName);
public override string GetTemplateContainerDataItemProperty (string templateName);
[System.Obsolete("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")]
public override string GetTemplateContainerDataItemProperty (string templateName);
override this.GetTemplateContainerDataItemProperty : string -> string
[<System.Obsolete("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")>]
override this.GetTemplateContainerDataItemProperty : string -> string
Public Overrides Function GetTemplateContainerDataItemProperty (templateName As String) As String

매개 변수

templateName
String

템플릿의 이름입니다.

반환

템플릿에 있는 컨테이너의 IDataItemContainer.DataItem 속성입니다.

특성

설명

GetTemplateContainerDataItemProperty 메서드는 사용 되지 않습니다. 템플릿 메타데이터에 액세스하려면 을 참조하세요 TemplateDefinition.

적용 대상

추가 정보