Style.RegisterStyle(String, Type, Object, Boolean) 메서드

정의

스타일 속성을 등록하고 조회에 대한 고유 키를 반환합니다. 이 API는 사용되지 않습니다. ASP.NET 모바일 애플리케이션을 개발하는 방법에 대한 자세한 내용은 모빌 앱 및 ASP.NET 있는 사이트입니다.

public:
 static System::Object ^ RegisterStyle(System::String ^ name, Type ^ type, System::Object ^ defaultValue, bool inherit);
public static object RegisterStyle(string name, Type type, object defaultValue, bool inherit);
static member RegisterStyle : string * Type * obj * bool -> obj
Public Shared Function RegisterStyle (name As String, type As Type, defaultValue As Object, inherit As Boolean) As Object

매개 변수

name
String

스타일 속성의 이름입니다.

type
Type

속성에 사용되는 형식입니다.

defaultValue
Object

속성의 기본값입니다.

inherit
Boolean

스타일이 부모 개체에서 상속되는지 여부를 나타냅니다. 기본값은 true입니다.

반품

조회를 위한 고유 키입니다.

설명

상속된 스타일 클래스에서만 호출됩니다.

적용 대상