다음을 통해 공유


ProfilePropertySettingsCollection 클래스

정의

개체 집합 ProfilePropertySettingsCollection 을 포함합니다.

public ref class ProfilePropertySettingsCollection : System::Configuration::ConfigurationElementCollection
[System.Configuration.ConfigurationCollection(typeof(System.Web.Configuration.ProfilePropertySettings))]
public class ProfilePropertySettingsCollection : System.Configuration.ConfigurationElementCollection
[<System.Configuration.ConfigurationCollection(typeof(System.Web.Configuration.ProfilePropertySettings))>]
type ProfilePropertySettingsCollection = class
    inherit ConfigurationElementCollection
Public Class ProfilePropertySettingsCollection
Inherits ConfigurationElementCollection
상속
ProfilePropertySettingsCollection
파생
특성

예제

다음 코드 예제에서는 클래스의 PropertySettings 인스턴스인 속성을 사용하는 방법을 보여 줍니다 ProfilePropertySettingsCollection . 이 코드 예제는 클래스에 제공된 더 큰 예제의 ProfileSection 일부입니다.

// Display all current ProfileGroupSettings.
Console.WriteLine("Current ProfileGroupSettings:");
int PGSCtr = 0;
foreach (ProfileGroupSettings propGroups in profileSection.PropertySettings.GroupSettings)
{
    Console.WriteLine("  {0}: ProfileGroupSetting '{1}'", ++PGSCtr,
        propGroups.Name);
    int PPSCtr = 0;
    foreach (ProfilePropertySettings props in propGroups.PropertySettings)
    {
        Console.WriteLine("    {0}: ProfilePropertySetting '{1}'", ++PPSCtr,
            props.Name);
    }
}
' Display all current ProfileGroupSettings.
Console.WriteLine("Current ProfileGroupSettings:")
Dim PGSCtr As Integer = 0
For Each propGroups As ProfileGroupSettings In profileSection.PropertySettings.GroupSettings
                    Console.WriteLine("  {0}: ProfileGroupSettings '{1}'", ++PGSCtr, _
        propGroups.Name)
    Dim PPSCtr As Integer = 0
    For Each props As ProfilePropertySettings In propGroups.PropertySettings
        Console.WriteLine("    {0}: ProfilePropertySetting '{1}'", ++PPSCtr, _
            props.Name)
    Next
Next

설명

구성 파일의 섹션은 profile 사용자 프로필에 대한 스키마를 지정합니다. 런타임에 ASP.NET 컴파일 시스템은 섹션에 profile 지정된 정보를 사용하여 파생되는 ProfileBase클래스ProfileCommon를 생성합니다. ProfileCommon 클래스 정의는 구성 파일 섹션의 하위 섹션에 propertiesprofile 정의된 속성을 기반으로 합니다. 이 클래스의 인스턴스는 각 사용자 프로필에 대해 만들어지고 속성을 통해 Profile 코드의 개별 프로필 값에 액세스할 수 있습니다. 프로필 속성에 대한 자세한 내용은 ASP.NET 프로필 속성 개요를 참조하세요. ASP.NET 2.0에 추가된 프로필 기능에 대한 자세한 내용은 ASP.NET 프로필 속성 개요를 참조하세요.

생성자

Name Description
ProfilePropertySettingsCollection()

클래스의 새 인스턴스를 ProfilePropertySettingsCollection 만듭니다.

속성

Name Description
AddElementName

파생 클래스에서 ConfigurationElement 재정의 ConfigurationElementCollection 될 때 추가 작업과 연결할 이름을 가져오거나 설정합니다.

(다음에서 상속됨 ConfigurationElementCollection)
AllKeys

컬렉션에 포함된 모든 ProfileSection 개체의 이름을 포함하는 배열을 반환합니다.

AllowClear

clear> 요소가 개체로 ProfilePropertySettings 유효한지 여부를 <나타내는 값을 가져옵니다.

ClearElementName

파생 클래스에서 ConfigurationElement 재정의 ConfigurationElementCollection 될 때 clear 연산과 연결할 이름을 가져오거나 설정합니다.

(다음에서 상속됨 ConfigurationElementCollection)
CollectionType

의 형식을 가져옵니다 ConfigurationElementCollection.

(다음에서 상속됨 ConfigurationElementCollection)
Count

컬렉션의 요소 수를 가져옵니다.

(다음에서 상속됨 ConfigurationElementCollection)
CurrentConfiguration

현재 Configuration 인스턴스가 속한 구성 계층 구조를 나타내는 최상위 ConfigurationElement 인스턴스에 대한 참조를 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
ElementInformation

개체의 ElementInformation 사용자 지정할 수 없는 정보 및 기능을 포함하는 개체를 ConfigurationElement 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
ElementName

파생 클래스에서 재정의될 때 구성 파일에서 이 요소 컬렉션을 식별하는 데 사용되는 이름을 가져옵니다.

(다음에서 상속됨 ConfigurationElementCollection)
ElementProperty

ConfigurationElementProperty 개체 자체를 나타내는 개체를 ConfigurationElement 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
EmitClear

컬렉션이 지워졌는지 여부를 지정하는 값을 가져오거나 설정합니다.

(다음에서 상속됨 ConfigurationElementCollection)
EvaluationContext

ContextInformation 개체에 대한 ConfigurationElement 개체를 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
HasContext

속성CurrentConfiguration이 .인지 여부를 null 나타내는 값을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
IsSynchronized

컬렉션에 대한 액세스가 동기화되는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 ConfigurationElementCollection)
Item[ConfigurationProperty]

이 구성 요소의 속성 또는 특성을 가져오거나 설정합니다.

(다음에서 상속됨 ConfigurationElement)
Item[Int32]

지정된 인덱스 ProfilePropertySettings 위치에 있는 개체를 가져오거나 설정합니다.

Item[String]

지정된 이름을 가진 ProfilePropertySettings 개체를 가져오거나 설정합니다.

LockAllAttributesExcept

잠긴 특성의 컬렉션을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
LockAllElementsExcept

잠긴 요소의 컬렉션을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
LockAttributes

잠긴 특성의 컬렉션을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
LockElements

잠긴 요소의 컬렉션을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
LockItem

요소가 잠겨 있는지 여부를 나타내는 값을 가져오거나 설정합니다.

(다음에서 상속됨 ConfigurationElement)
Properties

구성 속성의 컬렉션을 가져옵니다.

RemoveElementName

파생 클래스에서 ConfigurationElement 재정의 ConfigurationElementCollection 될 때 제거 작업과 연결할 이름을 가져오거나 설정합니다.

(다음에서 상속됨 ConfigurationElementCollection)
SyncRoot

에 대한 액세스를 동기화하는 데 사용되는 개체를 ConfigurationElementCollection가져옵니다.

(다음에서 상속됨 ConfigurationElementCollection)
ThrowOnDuplicate

중복 개체를 만들려는 시도가 있을 경우 오류를 throw해야 하는지 여부를 나타내는 값을 가져옵니다.

메서드

Name Description
Add(ProfilePropertySettings)

컬렉션에 ProfilePropertySettings 개체를 추가합니다.

BaseAdd(ConfigurationElement, Boolean)

구성 요소 컬렉션에 구성 요소를 추가합니다.

(다음에서 상속됨 ConfigurationElementCollection)
BaseAdd(ConfigurationElement)

에 구성 요소를 ConfigurationElementCollection추가합니다.

(다음에서 상속됨 ConfigurationElementCollection)
BaseAdd(Int32, ConfigurationElement)

구성 요소 컬렉션에 구성 요소를 추가합니다.

(다음에서 상속됨 ConfigurationElementCollection)
BaseClear()

컬렉션에서 모든 구성 요소 개체를 제거합니다.

(다음에서 상속됨 ConfigurationElementCollection)
BaseGet(Int32)

지정된 인덱스 위치에 있는 구성 요소를 가져옵니다.

(다음에서 상속됨 ConfigurationElementCollection)
BaseGet(Object)

지정된 키를 사용하여 구성 요소를 반환합니다.

(다음에서 상속됨 ConfigurationElementCollection)
BaseGetAllKeys()

에 포함된 모든 구성 요소에 대한 키 배열을 ConfigurationElementCollection반환합니다.

(다음에서 상속됨 ConfigurationElementCollection)
BaseGetKey(Int32)

지정된 인덱스 위치에 있는 ConfigurationElement 키를 가져옵니다.

(다음에서 상속됨 ConfigurationElementCollection)
BaseIndexOf(ConfigurationElement)

지정된 ConfigurationElement.의 인덱스입니다.

(다음에서 상속됨 ConfigurationElementCollection)
BaseIsRemoved(Object)

지정된 키를 가진 키가 .에서 ConfigurationElement제거되었는지 여부를 ConfigurationElementCollection 나타냅니다.

(다음에서 상속됨 ConfigurationElementCollection)
BaseRemove(Object)

컬렉션에서 A ConfigurationElement 를 제거합니다.

(다음에서 상속됨 ConfigurationElementCollection)
BaseRemoveAt(Int32)

지정된 인덱스 위치에서 제거합니다 ConfigurationElement .

(다음에서 상속됨 ConfigurationElementCollection)
Clear()

컬렉션에서 모든 ProfilePropertySettings 개체를 제거합니다.

CopyTo(ConfigurationElement[], Int32)

배열의 내용을 복사합니다 ConfigurationElementCollection .

(다음에서 상속됨 ConfigurationElementCollection)
CreateNewElement()

파생 클래스에서 재정의되는 경우 새 ConfigurationElement클래스를 만듭니다.

CreateNewElement(String)

파생 클래스에서 재정의될 때 새 ConfigurationElement 클래스를 만듭니다.

(다음에서 상속됨 ConfigurationElementCollection)
DeserializeElement(XmlReader, Boolean)

구성 파일에서 XML을 읽습니다.

(다음에서 상속됨 ConfigurationElement)
Equals(Object)

지정된 개체와 ConfigurationElementCollection 비교합니다.

(다음에서 상속됨 ConfigurationElementCollection)
Get(Int32)

지정된 인덱스에서 ProfileSection 개체를 반환합니다.

Get(String)

ProfileSection 지정된 이름을 가진 개체를 반환합니다.

GetElementKey(ConfigurationElement)

지정된 구성 요소의 키를 가져옵니다.

GetEnumerator()

IEnumerator 반복 ConfigurationElementCollection하는 데 사용되는 값을 가져옵니다.

(다음에서 상속됨 ConfigurationElementCollection)
GetHashCode()

인스턴스를 나타내는 ConfigurationElementCollection 고유 값을 가져옵니다.

(다음에서 상속됨 ConfigurationElementCollection)
GetKey(Int32)

지정된 인덱스 위치에 있는 이름을 ProfilePropertySettings 가져옵니다.

GetTransformedAssemblyString(String)

지정된 어셈블리 이름의 변환된 버전을 반환합니다.

(다음에서 상속됨 ConfigurationElement)
GetTransformedTypeString(String)

지정된 형식 이름의 변환된 버전을 반환합니다.

(다음에서 상속됨 ConfigurationElement)
GetType()

현재 인스턴스의 Type 가져옵니다.

(다음에서 상속됨 Object)
IndexOf(ProfilePropertySettings)

지정 ProfilePropertySettings 한 개체의 인덱스 값을 반환합니다.

Init()

개체를 ConfigurationElement 초기 상태로 설정합니다.

(다음에서 상속됨 ConfigurationElement)
InitializeDefault()

개체의 기본 값 집합을 ConfigurationElement 초기화하는 데 사용됩니다.

(다음에서 상속됨 ConfigurationElement)
IsElementName(String)

지정된 ConfigurationElement 값이 .에 ConfigurationElementCollection있는지 여부를 나타냅니다.

(다음에서 상속됨 ConfigurationElementCollection)
IsElementRemovable(ConfigurationElement)

지정된 ConfigurationElement 을 .에서 ConfigurationElementCollection제거할 수 있는지 여부를 나타냅니다.

(다음에서 상속됨 ConfigurationElementCollection)
IsModified()

파생 클래스에서 재정의될 때 마지막으로 저장되었거나 로드된 이후 수정되었는지 여부를 ConfigurationElementCollection 나타냅니다.

(다음에서 상속됨 ConfigurationElementCollection)
IsReadOnly()

개체가 ConfigurationElementCollection 읽기 전용인지 여부를 나타냅니다.

(다음에서 상속됨 ConfigurationElementCollection)
ListErrors(IList)

ConfigurationElement 개체 및 모든 하위 요소의 잘못된 속성 오류를 전달된 목록에 추가합니다.

(다음에서 상속됨 ConfigurationElement)
MemberwiseClone()

현재 Object단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
OnDeserializeUnrecognizedAttribute(String, String)

역직렬화하는 동안 알 수 없는 특성이 발생하는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
OnDeserializeUnrecognizedElement(String, XmlReader)

구성 파일에서 인식할 수 없는 구성 요소의 읽기를 처리하고 요소를 처리할 수 없는 경우 구성 시스템에서 예외를 throw합니다.

OnRequiredPropertyNotFound(String)

필수 속성을 찾을 수 없는 경우 예외를 throw합니다.

(다음에서 상속됨 ConfigurationElement)
PostDeserialize()

역직렬화 후 호출됩니다.

(다음에서 상속됨 ConfigurationElement)
PreSerialize(XmlWriter)

serialization 전에 호출됩니다.

(다음에서 상속됨 ConfigurationElement)
Remove(String)

ProfilePropertySettings 컬렉션에서 개체를 제거합니다.

RemoveAt(Int32)

컬렉션에서 지정된 인덱스 ProfilePropertySettings 위치에 있는 개체를 제거합니다.

Reset(ConfigurationElement)

파생 클래스에서 재정의 ConfigurationElementCollection 될 때 수정되지 않은 상태로 다시 설정합니다.

(다음에서 상속됨 ConfigurationElementCollection)
ResetModified()

파생 클래스에서 재정의될 IsModified() 때 속성 값을 false 다시 설정합니다.

(다음에서 상속됨 ConfigurationElementCollection)
SerializeElement(XmlWriter, Boolean)

파생 클래스에서 재정의될 때 구성 파일의 XML 요소에 구성 데이터를 씁니다.

(다음에서 상속됨 ConfigurationElementCollection)
SerializeToXmlElement(XmlWriter, String)

파생 클래스에서 구현될 때 이 구성 요소의 외부 태그를 구성 파일에 씁니다.

(다음에서 상속됨 ConfigurationElement)
Set(ProfilePropertySettings)

컬렉션에 지정된 ProfilePropertySettings 개체를 추가합니다.

SetPropertyValue(ConfigurationProperty, Object, Boolean)

속성을 지정된 값으로 설정합니다.

(다음에서 상속됨 ConfigurationElement)
SetReadOnly()

IsReadOnly() 개체 및 모든 하위 요소에 ConfigurationElementCollection 대한 속성을 설정합니다.

(다음에서 상속됨 ConfigurationElementCollection)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)
Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)

구성 정보를 다른 수준의 구성 계층 구조에서 병합하는 효과를 반전합니다.

(다음에서 상속됨 ConfigurationElementCollection)

명시적 인터페이스 구현

Name Description
ICollection.CopyTo(Array, Int32)

배열에 ConfigurationElementCollection 복사합니다.

(다음에서 상속됨 ConfigurationElementCollection)

확장명 메서드

Name Description
AsParallel(IEnumerable)

쿼리의 병렬 처리를 사용하도록 설정합니다.

AsQueryable(IEnumerable)

IEnumerable IQueryable변환합니다.

Cast<TResult>(IEnumerable)

IEnumerable 요소를 지정된 형식으로 캐스팅합니다.

OfType<TResult>(IEnumerable)

지정된 형식에 따라 IEnumerable 요소를 필터링합니다.

적용 대상

추가 정보