[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Specifies a global site property and other options.

Namespace: JohnHolliday.Caml.Net
Assembly:  JohnHolliday.Caml.Net (in JohnHolliday.Caml.Net.dll)

Syntax

C#
public static string ProjectProperty(
	string propertyName,
	string defaultValue,
	CAML.CAML..::AutoHyperlinkType autoHyperlinkType,
	bool autoNewLine,
	bool expandXML,
	bool htmlEncode,
	bool stripWhiteSpace,
	CAML.CAML..::UrlEncodingType urlEncodingType
)
Visual Basic (Declaration)
Public Shared Function ProjectProperty ( _
	propertyName As String, _
	defaultValue As String, _
	autoHyperlinkType As CAML..::AutoHyperlinkType, _
	autoNewLine As Boolean, _
	expandXML As Boolean, _
	htmlEncode As Boolean, _
	stripWhiteSpace As Boolean, _
	urlEncodingType As CAML..::UrlEncodingType _
) As String
Visual C++
public:
static String^ ProjectProperty (
	String^ propertyName, 
	String^ defaultValue, 
	CAML..::AutoHyperlinkType autoHyperlinkType, 
	bool autoNewLine, 
	bool expandXML, 
	bool htmlEncode, 
	bool stripWhiteSpace, 
	CAML..::UrlEncodingType urlEncodingType
)

Parameters

propertyName
String
the name of the property to be retrieved
defaultValue
String
the default value to use if the property is not found
autoHyperlinkType
CAML..::AutoHyperlinkType
specifies how to handle hyperlinks CAML..::AutoHyperlinkType
autoNewLine
Boolean
TRUE to insert <BR> tags into the text stream and to replace multiple spaces with a nonbreaking space.
expandXML
Boolean
TRUE to re-pass the rendered content through the CAML interpreter, which allows CAML to render CAML.
htmlEncode
Boolean
TRUE to convert embedded characters so that they are displayed as text in the browser. In other words, characters that could be confused with HTML tags are converted to entities.
stripWhiteSpace
Boolean
TRUE to remove white space from the beginning and end of the value returned by the element.
urlEncodingType
CAML..::UrlEncodingType
specifies how to handle URL encoding CAML..::UrlEncodingType

Return Value

See Also

CAML Class
JohnHolliday.Caml.Net Namespace