ClientTargetSection.ClientTargets 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
개체의 ClientTarget 컬렉션을 가져옵니다.
public:
property System::Web::Configuration::ClientTargetCollection ^ ClientTargets { System::Web::Configuration::ClientTargetCollection ^ get(); };
[System.Configuration.ConfigurationProperty("", IsDefaultCollection=true, IsRequired=true)]
public System.Web.Configuration.ClientTargetCollection ClientTargets { get; }
[<System.Configuration.ConfigurationProperty("", IsDefaultCollection=true, IsRequired=true)>]
member this.ClientTargets : System.Web.Configuration.ClientTargetCollection
Public ReadOnly Property ClientTargets As ClientTargetCollection
속성 값
개체를 포함하는 A ClientTargetCollection 입니다 ClientTarget .
- 특성
예제
다음 코드 예제에서는 컬렉션을 가져오는 ClientTargets 방법을 보여줍니다.
// Get the client target collection.
ClientTargetCollection clientTargets =
clientTargetSection.ClientTargets;
' Get the client target collection.
Dim clientTargets _
As ClientTargetCollection = _
clientTargetSection.ClientTargets
설명
각 ClientTarget 개체에는 클라이언트 브라우저를 식별하는 두 개의 속성(사용자 에이전트라고도 함)이 포함됩니다. 한 속성은 다른 속성으로 식별되는 클라이언트 브라우저와 연결된 별칭입니다. ASP.NET 이 정보를 사용하여 페이지에서 서버 컨트롤을 렌더링합니다.