ProfileManager.AddDynamicProfileProperty(ProfilePropertySettings) 메서드

정의

프로그래밍 방식으로 프로필 속성을 추가합니다.

public:
 static void AddDynamicProfileProperty(System::Web::Configuration::ProfilePropertySettings ^ property);
public static void AddDynamicProfileProperty(System.Web.Configuration.ProfilePropertySettings property);
static member AddDynamicProfileProperty : System.Web.Configuration.ProfilePropertySettings -> unit
Public Shared Sub AddDynamicProfileProperty (property As ProfilePropertySettings)

매개 변수

property
ProfilePropertySettings

추가할 속성 설정입니다.

설명

이 메서드는 구성 파일의 섹션에 속성을 추가하는 것과 profile 기능적으로 동일합니다. 이 메서드를 호출하여 프로필 속성을 추가하려면 특성으로 PreApplicationStartMethodAttribute 표시된 메서드에서 호출을 수행해야 합니다.

적용 대상